Add Java 11 CI build

Closes gh-1197
This commit is contained in:
Vedran Pavic
2018-09-17 18:02:07 +02:00
parent eecdcb49d9
commit 12bb0741bb

18
Jenkinsfile vendored
View File

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