Add JDK 11 to Jenkins

Fixes: gh-5860
This commit is contained in:
Josh Cummings 2018-10-25 10:48:00 -06:00
parent 42b111fba6
commit e1c7dd6480
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

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