Skip to content

Commit 0a4ac4d

Browse files
jzheauxrwinch
authored andcommitted
Add JDK 10 to Jenkins
Fixes: gh-5860
1 parent 1eb56f4 commit 0a4ac4d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Jenkinsfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,21 @@ try {
6666
}
6767
}
6868
}
69+
},
70+
jdk10: {
71+
stage('JDK 10') {
72+
node {
73+
checkout scm
74+
try {
75+
withEnv(["JAVA_HOME=${ tool 'jdk10' }"]) {
76+
sh "./gradlew clean test --refresh-dependencies --no-daemon --stacktrace"
77+
}
78+
} catch(Exception e) {
79+
currentBuild.result = 'FAILED: jdk10'
80+
throw e
81+
}
82+
}
83+
}
6984
}
7085

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

0 commit comments

Comments
 (0)