mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 23:05:50 +00:00
Added Jenkinsfile
This commit is contained in:
parent
2890fb57fc
commit
3cec742a13
1 changed files with 4 additions and 3 deletions
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
|
@ -21,9 +21,10 @@ pipeline {
|
||||||
|
|
||||||
stage('Deploy') {
|
stage('Deploy') {
|
||||||
when {
|
when {
|
||||||
branch 'master'}
|
branch 'master'
|
||||||
|
}
|
||||||
steps {
|
steps {
|
||||||
sh 'do-non-master.sh'
|
sh 'mvn deploy'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue