mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 14:55:51 +00:00
Update Jenkinsfile
This commit is contained in:
parent
841c0c60b0
commit
18de930bdb
1 changed files with 3 additions and 4 deletions
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
|
@ -21,12 +21,11 @@ pipeline {
|
||||||
|
|
||||||
}
|
}
|
||||||
stage('Deploy') {
|
stage('Deploy') {
|
||||||
steps {
|
when {
|
||||||
when {
|
|
||||||
branch 'master'
|
branch 'master'
|
||||||
}
|
}
|
||||||
|
steps {
|
||||||
echo 'Deploying stage has been executed'
|
echo 'Deploying stage has been executed'
|
||||||
bat 'git push --set-upstream origin master'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue