Update CI to Java 16

Original Pull Request #1739
Closes #1733
This commit is contained in:
Peter-Josef Meisch 2021-03-22 21:57:10 +01:00
parent a3e87a8525
commit 2e5d2e0fd0
No known key found for this signature in database
GPG Key ID: DE108246970C7708

4
Jenkinsfile vendored
View File

@ -72,7 +72,7 @@ pipeline {
}
}
stage("test: baseline (jdk15)") {
stage("test: baseline (jdk16)") {
agent {
label 'data'
}
@ -85,7 +85,7 @@ pipeline {
steps {
script {
docker.withRegistry('', 'hub.docker.com-springbuildmaster') {
docker.image('adoptopenjdk/openjdk15:latest').inside('-u root -v /var/run/docker.sock:/var/run/docker.sock -v /usr/bin/docker:/usr/bin/docker -v $HOME:/tmp/jenkins-home') {
docker.image('adoptopenjdk/openjdk16:latest').inside('-u root -v /var/run/docker.sock:/var/run/docker.sock -v /usr/bin/docker:/usr/bin/docker -v $HOME:/tmp/jenkins-home') {
sh "docker login --username ${DOCKER_HUB_USR} --password ${DOCKER_HUB_PSW}"
sh 'PROFILE=java11 ci/verify.sh'
sh "ci/clean.sh"