Skip to content

Commit e6a88cc

Browse files
committed
Add Java 12 CI build
Resolves: #1422
1 parent 36f1cd5 commit e6a88cc

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Jenkinsfile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,24 @@ try {
8181
}
8282
}
8383
}
84+
},
85+
jdk12: {
86+
stage('JDK 12') {
87+
timeout(time: 45, unit: 'MINUTES') {
88+
node('ubuntu1804') {
89+
checkout scm
90+
try {
91+
withEnv(["JAVA_HOME=${tool 'openjdk12'}"]) {
92+
sh './gradlew clean test integrationTest --no-daemon --refresh-dependencies'
93+
}
94+
}
95+
catch (e) {
96+
currentBuild.result = 'FAILED: jdk12'
97+
throw e
98+
}
99+
}
100+
}
101+
}
84102
}
85103

86104
if (currentBuild.result == 'SUCCESS') {

0 commit comments

Comments
 (0)