diff --git a/Jenkinsfile b/Jenkinsfile index 6a62bb691..c1e09a6d7 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.2.x", threshold: hudson.model.Result.SUCCESS) } options { @@ -15,7 +15,7 @@ pipeline { stage("Test") { when { anyOf { - branch 'master' + branch '3.2.x' not { triggeredBy 'UpstreamCause' } } } @@ -39,7 +39,7 @@ pipeline { stage('Release to artifactory') { when { anyOf { - branch 'master' + branch '3.2.x' not { triggeredBy 'UpstreamCause' } } } @@ -70,7 +70,7 @@ pipeline { } stage('Publish documentation') { when { - branch 'master' + branch '3.2.x' } agent { docker {