Add JDK 10 to Jenkins

Fixes: gh-5860
This commit is contained in:
Josh Cummings 2018-10-16 12:50:35 -06:00 committed by Rob Winch
parent bd9e3877f9
commit adb9f4e34b
1 changed files with 15 additions and 0 deletions

15
Jenkinsfile vendored
View File

@ -66,6 +66,21 @@ try {
}
}
}
},
jdk10: {
stage('JDK 10') {
node {
checkout scm
try {
withEnv(["JAVA_HOME=${ tool 'jdk10' }"]) {
sh "./gradlew clean test --refresh-dependencies --no-daemon --stacktrace"
}
} catch(Exception e) {
currentBuild.result = 'FAILED: jdk10'
throw e
}
}
}
}
if(currentBuild.result == 'SUCCESS') {