diff --git a/Jenkinsfile b/Jenkinsfile index ee784b3..8536a8c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,7 +3,7 @@ pipeline { triggers { pollSCM 'H/10 * * * *' - upstream(upstreamProjects: "spring-data-commons/master", threshold: hudson.model.Result.SUCCESS) + upstream(upstreamProjects: "spring-data-commons/2.4.x", threshold: hudson.model.Result.SUCCESS) } options { @@ -15,7 +15,7 @@ pipeline { stage("test: baseline (jdk8)") { when { anyOf { - branch 'master' + branch '2.4.x' not { triggeredBy 'UpstreamCause' } } } @@ -36,7 +36,7 @@ pipeline { stage("Test other configurations") { when { allOf { - branch 'master' + branch '2.4.x' not { triggeredBy 'UpstreamCause' } } } @@ -76,7 +76,7 @@ pipeline { stage('Release to artifactory') { when { anyOf { - branch 'master' + branch '2.4.x' not { triggeredBy 'UpstreamCause' } } } @@ -107,7 +107,7 @@ pipeline { } stage('Publish documentation') { when { - branch 'master' + branch '2.4.x' } agent { docker {