Skip to content

Commit bf921cd

Browse files
committed
DATAMONGO-2510 - Use JDK 14 for Java.NEXT CI testing.
1 parent a1b4e6d commit bf921cd

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Jenkinsfile

+5-5
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,16 @@ pipeline {
4646
}
4747
}
4848
}
49-
stage('Publish JDK 13 + MongoDB 4.2') {
49+
stage('Publish JDK 14 + MongoDB 4.2') {
5050
when {
51-
changeset "ci/openjdk13-mongodb-4.2/**"
51+
changeset "ci/openjdk14-mongodb-4.2/**"
5252
}
5353
agent { label 'data' }
5454
options { timeout(time: 30, unit: 'MINUTES') }
5555

5656
steps {
5757
script {
58-
def image = docker.build("springci/spring-data-openjdk13-with-mongodb-4.2.0", "ci/openjdk13-mongodb-4.2/")
58+
def image = docker.build("springci/spring-data-openjdk14-with-mongodb-4.2.0", "ci/openjdk14-mongodb-4.2/")
5959
docker.withRegistry('', 'hub.docker.com-springbuildmaster') {
6060
image.push()
6161
}
@@ -139,10 +139,10 @@ pipeline {
139139
}
140140
}
141141

142-
stage("test: baseline (jdk13)") {
142+
stage("test: baseline (jdk14)") {
143143
agent {
144144
docker {
145-
image 'springci/spring-data-openjdk13-with-mongodb-4.2.0:latest'
145+
image 'springci/spring-data-openjdk14-with-mongodb-4.2.0:latest'
146146
label 'data'
147147
args '-v $HOME:/tmp/jenkins-home'
148148
}

ci/openjdk13-mongodb-4.2/Dockerfile renamed to ci/openjdk14-mongodb-4.2/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM adoptopenjdk/openjdk13:latest
1+
FROM adoptopenjdk/openjdk14:latest
22

33
ENV TZ=Etc/UTC
44
ENV DEBIAN_FRONTEND=noninteractive

0 commit comments

Comments
 (0)