From 4e3507f23396f6cab9171374b4e10a6f18a3f5ed Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Wed, 28 Apr 2021 09:03:05 +0200 Subject: [PATCH] Update Jenkins job after branching. See #1112 --- Jenkinsfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 42012218c..26e5d0e05 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.5.x", threshold: hudson.model.Result.SUCCESS) } options { @@ -68,7 +68,7 @@ pipeline { stage("test: baseline (jdk8)") { when { anyOf { - branch 'master' + branch '2.5.x' not { triggeredBy 'UpstreamCause' } } } @@ -95,7 +95,7 @@ pipeline { stage("Test other configurations") { when { allOf { - branch 'master' + branch '2.5.x' not { triggeredBy 'UpstreamCause' } } } @@ -145,7 +145,7 @@ pipeline { stage('Release to artifactory') { when { anyOf { - branch 'master' + branch '2.5.x' not { triggeredBy 'UpstreamCause' } } } @@ -178,7 +178,7 @@ pipeline { } stage('Publish documentation') { when { - branch 'master' + branch '2.5.x' } agent { label 'data'