From 4b1c4c800085b0ecf024a4362bc99233ea9dab08 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Thu, 29 Oct 2020 09:53:38 +0100 Subject: [PATCH] DATAES-950 - Enable maintenance branch build. --- Jenkinsfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 8259e9ef9..dd54ae5a1 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 '4.1.x' not { triggeredBy 'UpstreamCause' } } } @@ -40,7 +40,7 @@ pipeline { stage("Test other configurations") { when { allOf { - branch 'master' + branch '4.1.x' not { triggeredBy 'UpstreamCause' } } } @@ -88,7 +88,7 @@ pipeline { stage('Release to artifactory') { when { anyOf { - branch 'master' + branch '4.1.x' not { triggeredBy 'UpstreamCause' } } } @@ -119,7 +119,7 @@ pipeline { } stage('Publish documentation') { when { - branch 'master' + branch '4.1.x' } agent { docker {