diff --git a/Jenkinsfile b/Jenkinsfile index 08cc6211f..7bea54b43 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,7 +3,7 @@ pipeline { triggers { pollSCM 'H/10 * * * *' - upstream(upstreamProjects: "spring-data-keyvalue/master", threshold: hudson.model.Result.SUCCESS) + upstream(upstreamProjects: "spring-data-keyvalue/2.2.x", threshold: hudson.model.Result.SUCCESS) } options { @@ -35,7 +35,7 @@ pipeline { stage("Test") { when { anyOf { - branch 'master' + branch '2.2.x' not { triggeredBy 'UpstreamCause' } } } @@ -78,7 +78,7 @@ pipeline { stage('Release to artifactory') { when { anyOf { - branch 'master' + branch '2.2.x' not { triggeredBy 'UpstreamCause' } } } @@ -110,7 +110,7 @@ pipeline { stage('Publish documentation') { when { - branch 'master' + branch '2.2.x' } agent { docker {