Add JDK 12 to Jenkins Build

Fixes: gh-6774
This commit is contained in:
Josh Cummings 2019-04-09 15:03:20 -06:00
parent a6cbc909b6
commit fc6b66fdb3
No known key found for this signature in database
GPG Key ID: 49EF60DD7FF83443
1 changed files with 15 additions and 0 deletions

15
Jenkinsfile vendored
View File

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