Skip to content

Commit

Permalink
Add Java 12 CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
vpavic committed May 10, 2019
1 parent 48c3222 commit dcd5342
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down

0 comments on commit dcd5342

Please sign in to comment.