Skip to content

Commit eec6cea

Browse files
committed
Update CI to JDK 16.
See #3603.
1 parent 90d03d9 commit eec6cea

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
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 15 + MongoDB 4.4') {
49+
stage('Publish JDK 16 + MongoDB 4.4') {
5050
when {
51-
changeset "ci/openjdk15-mongodb-4.4/**"
51+
changeset "ci/openjdk16-mongodb-4.4/**"
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-openjdk15-with-mongodb-4.4.4", "ci/openjdk15-mongodb-4.4/")
58+
def image = docker.build("springci/spring-data-openjdk16-with-mongodb-4.4.4", "ci/openjdk16-mongodb-4.4/")
5959
docker.withRegistry('', 'hub.docker.com-springbuildmaster') {
6060
image.push()
6161
}
@@ -151,7 +151,7 @@ pipeline {
151151
}
152152
}
153153

154-
stage("test: baseline (jdk15)") {
154+
stage("test: baseline (jdk16)") {
155155
agent {
156156
label 'data'
157157
}
@@ -162,7 +162,7 @@ pipeline {
162162
steps {
163163
script {
164164
docker.withRegistry('', 'hub.docker.com-springbuildmaster') {
165-
docker.image('springci/spring-data-openjdk15-with-mongodb-4.4.4:latest').inside('-v $HOME:/tmp/jenkins-home') {
165+
docker.image('springci/spring-data-openjdk16-with-mongodb-4.4.4:latest').inside('-v $HOME:/tmp/jenkins-home') {
166166
sh 'mkdir -p /tmp/mongodb/db /tmp/mongodb/log'
167167
sh 'mongod --setParameter transactionLifetimeLimitSeconds=90 --setParameter maxTransactionLockRequestTimeoutMillis=10000 --dbpath /tmp/mongodb/db --replSet rs0 --fork --logpath /tmp/mongodb/log/mongod.log &'
168168
sh 'sleep 10'

0 commit comments

Comments
 (0)