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
ec71de830d
commit
70af1b88ff
1 changed files with 7 additions and 6 deletions
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
|
@ -14,13 +14,14 @@ pipeline {
|
|||
stages {
|
||||
stage('pull request') {
|
||||
steps {
|
||||
if(env.CHANGE_ID) {
|
||||
sh "echo 'pull request"
|
||||
} else {
|
||||
sh "echo 'pull no no no"
|
||||
}
|
||||
script {
|
||||
if(env.CHANGE_ID) {
|
||||
sh "echo 'pull request"
|
||||
} else {
|
||||
sh "echo 'pull no no no"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// steps {
|
||||
// script {
|
||||
// if (BRANCH_NAME != 'main' && env.CHANGE_ID){
|
||||
|
|
Loading…
Reference in a new issue