mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-19 14:05:50 +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') {
|
stage('Build') {
|
||||||
agent any
|
agent any
|
||||||
steps {
|
steps {
|
||||||
tool 'maven'
|
sh 'mvn clean install'
|
||||||
configFileProvider([configFile(fileId: 'nexus', variable: 'MAVEN_SETTINGS')]) {
|
|
||||||
sh 'mvn -s $MAVEN_SETTINGS clean deploy -DskipTests=true -B'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Build container') {
|
stage('Build container') {
|
||||||
|
|
Loading…
Reference in a new issue