jenkins: deploy using Java 9
This commit is contained in:
parent
61ceec90fc
commit
6a4cd3cd2f
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue