Add Java 12 CI build

Resolves: #1422
This commit is contained in:
Vedran Pavic
2019-05-10 09:24:29 +02:00
parent 48c32228de
commit dcd5342204

18
Jenkinsfile vendored
View File

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