jenkins: deploy using Java 9

This commit is contained in:
Paul Campbell 2018-03-04 18:18:49 +00:00
parent 61ceec90fc
commit 6a4cd3cd2f

View file

@ -58,7 +58,7 @@ pipeline {
stage('Deploy') {
when { expression { (env.GIT_BRANCH == 'master') } }
steps {
withMaven(maven: 'maven 3.5.2', jdk: 'JDK 1.8') {
withMaven(maven: 'maven 3.5.2', jdk: 'JDK 9') {
sh "${mvn} deploy --activate-profiles release -DskipTests=true"
}
}