Browse Source

Add Java 17 verification to CI pipeline.

Closes #1054
pull/1060/head
Jens Schauder 4 years ago
parent
commit
0d03b5928b
No known key found for this signature in database
GPG Key ID: 45CC872F17423DBF
  1. 4
      Jenkinsfile

4
Jenkinsfile vendored

@ -74,7 +74,7 @@ pipeline { @@ -74,7 +74,7 @@ pipeline {
}
}
stage("test: baseline (jdk16)") {
stage("test: baseline (jdk17)") {
agent {
label 'data'
}
@ -88,7 +88,7 @@ pipeline { @@ -88,7 +88,7 @@ pipeline {
steps {
script {
docker.withRegistry('', 'hub.docker.com-springbuildmaster') {
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') {
docker.image('openjdk:17-bullseye').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=ci,java11 ci/test.sh"
sh "ci/clean.sh"

Loading…
Cancel
Save