mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-18 21:45:49 +00:00
moved out maven command
This commit is contained in:
parent
e23c08f8b5
commit
61be4c6725
1 changed files with 1 additions and 4 deletions
|
@ -12,10 +12,7 @@ pipeline {
|
|||
stage('Build') {
|
||||
agent any
|
||||
steps {
|
||||
tool 'maven'
|
||||
configFileProvider([configFile(fileId: 'nexus', variable: 'MAVEN_SETTINGS')]) {
|
||||
sh 'mvn -s $MAVEN_SETTINGS clean deploy -DskipTests=true -B'
|
||||
}
|
||||
sh 'mvn clean install'
|
||||
}
|
||||
}
|
||||
stage('Build container') {
|
||||
|
|
Loading…
Reference in a new issue