mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-16 12:45:48 +00:00
modify build image main job in jenkinsfile
This commit is contained in:
parent
235dba9134
commit
e0551b445b
1 changed files with 3 additions and 0 deletions
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
|
@ -55,6 +55,9 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Build Image Main') {
|
stage('Build Image Main') {
|
||||||
|
when {
|
||||||
|
branch 'main'
|
||||||
|
}
|
||||||
agent {
|
agent {
|
||||||
docker {
|
docker {
|
||||||
image 'docker:20.10.16'
|
image 'docker:20.10.16'
|
||||||
|
|
Loading…
Reference in a new issue