From 679f933d864abf1ccc8a17d2e3fa65abab1b4f64 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Thu, 29 Oct 2020 09:37:28 +0100 Subject: [PATCH] DATACASS-813 - Enable maintenance branch build. --- Jenkinsfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 541ddea4e..019b4ed05 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 { @@ -51,7 +51,7 @@ pipeline { stage("Test") { when { anyOf { - branch 'master' + branch '3.1.x' not { triggeredBy 'UpstreamCause' } } } @@ -75,7 +75,7 @@ pipeline { stage("Test other configurations") { when { allOf { - branch 'master' + branch '3.1.x' not { triggeredBy 'UpstreamCause' } } } @@ -99,7 +99,7 @@ pipeline { stage('Release to artifactory') { when { anyOf { - branch 'master' + branch '3.1.x' not { triggeredBy 'UpstreamCause' } } } @@ -129,7 +129,7 @@ pipeline { } stage('Publish documentation') { when { - branch 'master' + branch '3.1.x' } agent { docker {