Add JDK 9 Build

Issue: gh-5160
This commit is contained in:
Rob Winch 2018-03-26 16:50:05 -05:00
parent 0e37c0912e
commit 6f6aadbcff
1 changed files with 15 additions and 0 deletions

15
Jenkinsfile vendored
View File

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