Add Java 17 verification to CI pipeline.

The pipeline replaces the one for 16.

No changes apart from the CI configuration was necessary.

Closes #2307
Original pull request #2308
This commit is contained in:
Jens Schauder
2021-09-21 14:15:16 +02:00
parent 60b1182b7d
commit 8d9fd1e923

4
Jenkinsfile vendored
View File

@@ -67,7 +67,7 @@ pipeline {
}
}
stage("test: baseline (jdk16)") {
stage("test: baseline (jdk17)") {
agent {
label 'data'
}
@@ -78,7 +78,7 @@ pipeline {
steps {
script {
docker.withRegistry('', 'hub.docker.com-springbuildmaster') {
docker.image('adoptopenjdk/openjdk16:latest').inside('-v $HOME:/tmp/jenkins-home') {
docker.image('openjdk:17-bullseye').inside('-v $HOME:/tmp/jenkins-home') {
sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw -s settings.xml -Pjava11 clean dependency:list test -Dsort -Dbundlor.enabled=false -U -B'
}
}