mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 09:25:49 +00:00
Update Jenkinsfile
This commit is contained in:
parent
de0e142776
commit
b01467cb77
1 changed files with 2 additions and 2 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -9,7 +9,7 @@ pipeline {
|
||||||
}
|
}
|
||||||
stage('Build Docker Image') {
|
stage('Build Docker Image') {
|
||||||
when {
|
when {
|
||||||
branch 'main'
|
branch 'master'
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
|
@ -22,7 +22,7 @@ pipeline {
|
||||||
}
|
}
|
||||||
stage('Push Docker Image') {
|
stage('Push Docker Image') {
|
||||||
when {
|
when {
|
||||||
branch 'main'
|
branch 'master'
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
|
|
Loading…
Reference in a new issue