mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-29 18:55:49 +00:00
JenkinsFile docker configuration
This commit is contained in:
parent
cd8b873b79
commit
4251429aea
1 changed files with 5 additions and 4 deletions
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
|
@ -13,11 +13,12 @@ pipeline {
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('pull request') {
|
stage('pull request') {
|
||||||
when {
|
|
||||||
branch 'main'
|
|
||||||
}
|
|
||||||
steps {
|
steps {
|
||||||
sh "echo 'hello worlsdds'"
|
if(env.CHANGE_ID) {
|
||||||
|
sh "echo 'pull request"
|
||||||
|
} else {
|
||||||
|
sh "echo 'pull request"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// steps {
|
// steps {
|
||||||
// script {
|
// script {
|
||||||
|
|
Loading…
Reference in a new issue