diff --git a/Jenkinsfile b/Jenkinsfile index 005a15456..8a63db851 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 { @@ -68,7 +68,7 @@ pipeline { stage("test: baseline") { when { anyOf { - branch 'master' + branch '2.2.x' not { triggeredBy 'UpstreamCause' } } } @@ -94,7 +94,7 @@ pipeline { stage("Test other configurations") { when { anyOf { - branch 'master' + branch '2.2.x' not { triggeredBy 'UpstreamCause' } } } @@ -143,7 +143,7 @@ pipeline { stage('Release to artifactory') { when { anyOf { - branch 'master' + branch '2.2.x' not { triggeredBy 'UpstreamCause' } } } @@ -175,7 +175,7 @@ pipeline { stage('Publish documentation') { when { - branch 'master' + branch '2.2.x' } agent { docker {