Skip to content

Commit a46b00c

Browse files
committed
Update CI to JDK 16.
See #1105.
1 parent e8ad9bf commit a46b00c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Jenkinsfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,16 @@ pipeline {
4646
}
4747
}
4848
}
49-
stage('Publish JDK 15 + Cassandra 3.11') {
49+
stage('Publish JDK 16 + Cassandra 3.11') {
5050
when {
51-
changeset "ci/openjdk15-8-cassandra-3.11/**"
51+
changeset "ci/openjdk16-8-cassandra-3.11/**"
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-8-cassandra-3.11", "ci/openjdk15-8-cassandra-3.11/")
58+
def image = docker.build("springci/spring-data-openjdk16-8-cassandra-3.11", "ci/openjdk16-8-cassandra-3.11/")
5959
docker.withRegistry('', 'hub.docker.com-springbuildmaster') {
6060
image.push()
6161
}
@@ -120,7 +120,7 @@ pipeline {
120120
}
121121
}
122122
}
123-
stage("test: baseline (jdk15)") {
123+
stage("test: baseline (jdk16)") {
124124
agent {
125125
label 'data'
126126
}
@@ -131,7 +131,7 @@ pipeline {
131131
steps {
132132
script {
133133
docker.withRegistry('', 'hub.docker.com-springbuildmaster') {
134-
docker.image('springci/spring-data-openjdk15-8-cassandra-3.11:latest').inside('-v $HOME:/tmp/jenkins-home') {
134+
docker.image('springci/spring-data-openjdk16-8-cassandra-3.11:latest').inside('-v $HOME:/tmp/jenkins-home') {
135135
sh 'mkdir -p /tmp/jenkins-home'
136136
sh 'JAVA_HOME=/opt/java/openjdk8 /opt/cassandra/bin/cassandra -R &'
137137
sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw -s settings.xml -Pci,external-cassandra,java11 clean dependency:list verify -Dsort -U -B'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM adoptopenjdk/openjdk15:latest
1+
FROM adoptopenjdk/openjdk16:latest
22

33
RUN set -eux; \
44
CASSANDRA_URL='https://www-us.apache.org/dist/cassandra/3.11.9/apache-cassandra-3.11.9-bin.tar.gz'; \

0 commit comments

Comments
 (0)