mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 23:05:50 +00:00
Update Jenkinsfile
This commit is contained in:
parent
c154688fb2
commit
d6699f221d
1 changed files with 2 additions and 3 deletions
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
|
@ -21,12 +21,11 @@ pipeline {
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Deploy') {
|
stage('Deploy') {
|
||||||
when{expression{(env.BRANCH_NAME == 'master')}}
|
|
||||||
{
|
|
||||||
steps {
|
steps {
|
||||||
sh 'mvn deploy'
|
sh 'mvn deploy'
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue