Browse Source

DATAMONGO-2629 - Use JDK 15 for next CI jobs.

pull/890/head
Greg L. Turnquist 5 years ago
parent
commit
2d348be5b2
No known key found for this signature in database
GPG Key ID: CB2FA4D512B5C413
  1. 10
      Jenkinsfile
  2. 2
      ci/openjdk15-mongodb-4.2/Dockerfile

10
Jenkinsfile vendored

@ -46,16 +46,16 @@ pipeline {
} }
} }
} }
stage('Publish JDK 14 + MongoDB 4.2') { stage('Publish JDK 15 + MongoDB 4.2') {
when { when {
changeset "ci/openjdk14-mongodb-4.2/**" changeset "ci/openjdk15-mongodb-4.2/**"
} }
agent { label 'data' } agent { label 'data' }
options { timeout(time: 30, unit: 'MINUTES') } options { timeout(time: 30, unit: 'MINUTES') }
steps { steps {
script { script {
def image = docker.build("springci/spring-data-openjdk14-with-mongodb-4.2.0", "ci/openjdk14-mongodb-4.2/") def image = docker.build("springci/spring-data-openjdk15-with-mongodb-4.2.0", "ci/openjdk15-mongodb-4.2/")
docker.withRegistry('', 'hub.docker.com-springbuildmaster') { docker.withRegistry('', 'hub.docker.com-springbuildmaster') {
image.push() image.push()
} }
@ -139,10 +139,10 @@ pipeline {
} }
} }
stage("test: baseline (jdk14)") { stage("test: baseline (jdk15)") {
agent { agent {
docker { docker {
image 'springci/spring-data-openjdk14-with-mongodb-4.2.0:latest' image 'springci/spring-data-openjdk15-with-mongodb-4.2.0:latest'
label 'data' label 'data'
args '-v $HOME:/tmp/jenkins-home' args '-v $HOME:/tmp/jenkins-home'
} }

2
ci/openjdk14-mongodb-4.2/Dockerfile → ci/openjdk15-mongodb-4.2/Dockerfile

@ -1,4 +1,4 @@
FROM adoptopenjdk/openjdk14:latest FROM adoptopenjdk/openjdk15:latest
ENV TZ=Etc/UTC ENV TZ=Etc/UTC
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
Loading…
Cancel
Save