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 {
|
stages {
|
||||||
stage('pull request') {
|
stage('pull request') {
|
||||||
steps {
|
steps {
|
||||||
if(env.CHANGE_ID) {
|
script {
|
||||||
sh "echo 'pull request"
|
if(env.CHANGE_ID) {
|
||||||
} else {
|
sh "echo 'pull request"
|
||||||
sh "echo 'pull no no no"
|
} else {
|
||||||
}
|
sh "echo 'pull no no no"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// steps {
|
// steps {
|
||||||
// script {
|
// script {
|
||||||
// if (BRANCH_NAME != 'main' && env.CHANGE_ID){
|
// if (BRANCH_NAME != 'main' && env.CHANGE_ID){
|
||||||
|
|
Loading…
Reference in a new issue