mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 07:15:49 +00:00
deploy stage modif
This commit is contained in:
parent
4548820897
commit
e852f854c6
1 changed files with 9 additions and 6 deletions
15
Jenkinsfile
vendored
15
Jenkinsfile
vendored
|
@ -18,12 +18,15 @@ pipeline {
|
|||
sh './mvnw package'
|
||||
}
|
||||
}
|
||||
|
||||
if( env.BRANCH_NAME == 'master' ) {
|
||||
stage('Deploy') {
|
||||
steps {
|
||||
sh './mvnw deploy'
|
||||
}
|
||||
stage('Deploy') {
|
||||
when {
|
||||
expression {
|
||||
currentBuild.result == null || currentBuild.result == 'SUCCESS'
|
||||
}
|
||||
}
|
||||
steps {
|
||||
echo "DEPLOY!"
|
||||
/* sh './mvnw deploy' */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue