Browse Source

Add JDK 11 to Jenkins

Fixes: gh-5860
pull/6526/head
Josh Cummings 7 years ago
parent
commit
d99ecc2a7b
No known key found for this signature in database
GPG Key ID: 49EF60DD7FF83443
  1. 15
      Jenkinsfile

15
Jenkinsfile vendored

@ -81,6 +81,21 @@ try { @@ -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') {

Loading…
Cancel
Save