From 7bab9b90899e22984f6b704c69c7fab9d8ffa0db Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Wed, 28 Apr 2021 08:59:12 +0200 Subject: [PATCH] Update Jenkins job after branching. See #2345 --- Jenkinsfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 349e5716b..eeb6d791e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,7 +3,7 @@ pipeline { triggers { pollSCM 'H/10 * * * *' - upstream(upstreamProjects: "spring-data-build/master", threshold: hudson.model.Result.SUCCESS) + upstream(upstreamProjects: "spring-data-build/2.5.x", threshold: hudson.model.Result.SUCCESS) } options { @@ -15,7 +15,7 @@ pipeline { stage("test: baseline (jdk8)") { when { anyOf { - branch 'master' + branch '2.5.x' not { triggeredBy 'UpstreamCause' } } } @@ -40,7 +40,7 @@ pipeline { stage("Test other configurations") { when { allOf { - branch 'master' + branch '2.5.x' not { triggeredBy 'UpstreamCause' } } } @@ -88,7 +88,7 @@ pipeline { stage('Release to artifactory') { when { anyOf { - branch 'master' + branch '2.5.x' not { triggeredBy 'UpstreamCause' } } } @@ -120,7 +120,7 @@ pipeline { } stage('Publish documentation') { when { - branch 'master' + branch '2.5.x' } agent { label 'data'