mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-25 09:05:50 +00:00
Update Jenkinsfile
This commit is contained in:
parent
ae73c1eb2f
commit
879bf4a1ed
1 changed files with 4 additions and 4 deletions
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
|
@ -23,26 +23,26 @@ pipeline {
|
||||||
stage('PR - Push') {
|
stage('PR - Push') {
|
||||||
when { branch 'PR-*' }
|
when { branch 'PR-*' }
|
||||||
steps {
|
steps {
|
||||||
sh 'echo <PLACEHOLDER>'
|
sh 'echo "<PLACEHOLDER>"'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Main - create tag') {
|
stage('Main - create tag') {
|
||||||
when { branch 'main' }
|
when { branch 'main' }
|
||||||
steps {
|
steps {
|
||||||
sh 'echo <create tag>'
|
sh 'echo "<create tag>"'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Main - tag the artifact') {
|
stage('Main - tag the artifact') {
|
||||||
when { branch 'main' }
|
when { branch 'main' }
|
||||||
steps {
|
steps {
|
||||||
sh 'echo <tag artifact>'
|
sh 'echo "<tag artifact>"'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Main - push to repo') {
|
stage('Main - push to repo') {
|
||||||
when { branch 'main' }
|
when { branch 'main' }
|
||||||
steps {
|
steps {
|
||||||
sh 'echo <push>'
|
sh 'echo "<push>"'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue