DATAMONGO-2510 - Use JDK 14 for Java.NEXT CI testing.

This commit is contained in:
Greg Turnquist
2020-04-09 14:29:16 -05:00
parent a1b4e6df59
commit bf921cdbd7
2 changed files with 6 additions and 6 deletions

10
Jenkinsfile vendored
View File

@@ -46,16 +46,16 @@ pipeline {
} }
} }
} }
stage('Publish JDK 13 + MongoDB 4.2') { stage('Publish JDK 14 + MongoDB 4.2') {
when { when {
changeset "ci/openjdk13-mongodb-4.2/**" changeset "ci/openjdk14-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-openjdk13-with-mongodb-4.2.0", "ci/openjdk13-mongodb-4.2/") def image = docker.build("springci/spring-data-openjdk14-with-mongodb-4.2.0", "ci/openjdk14-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 (jdk13)") { stage("test: baseline (jdk14)") {
agent { agent {
docker { docker {
image 'springci/spring-data-openjdk13-with-mongodb-4.2.0:latest' image 'springci/spring-data-openjdk14-with-mongodb-4.2.0:latest'
label 'data' label 'data'
args '-v $HOME:/tmp/jenkins-home' args '-v $HOME:/tmp/jenkins-home'
} }

View File

@@ -1,4 +1,4 @@
FROM adoptopenjdk/openjdk13:latest FROM adoptopenjdk/openjdk14:latest
ENV TZ=Etc/UTC ENV TZ=Etc/UTC
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive