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
03db5add22
commit
dbc1b85d20
1 changed files with 3 additions and 0 deletions
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
|
@ -21,10 +21,13 @@ pipeline {
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Deploy') {
|
stage('Deploy') {
|
||||||
|
when{expression{(end.BRANCH_NAME == 'master')}}
|
||||||
|
{
|
||||||
steps {
|
steps {
|
||||||
sh 'mvn deploy'
|
sh 'mvn deploy'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue