jenkins: use mvn with options
This commit is contained in:
parent
45c07bab81
commit
b221695272
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ pipeline {
|
||||||
stage('Java 8') {
|
stage('Java 8') {
|
||||||
steps {
|
steps {
|
||||||
withMaven(maven: 'maven 3.5.2', jdk: 'JDK 1.8') {
|
withMaven(maven: 'maven 3.5.2', jdk: 'JDK 1.8') {
|
||||||
sh 'mvn clean install'
|
sh "${mvn} clean install"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue