mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 14:55:51 +00:00
Added Jenkinsfile
This commit is contained in:
parent
2890fb57fc
commit
3cec742a13
1 changed files with 4 additions and 3 deletions
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
|
@ -21,11 +21,12 @@ 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