Skip to content

Commit 7bab9b9

Browse files
committed
Update Jenkins job after branching.
See #2345
1 parent 786ebec commit 7bab9b9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Jenkinsfile

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ pipeline {
33

44
triggers {
55
pollSCM 'H/10 * * * *'
6-
upstream(upstreamProjects: "spring-data-build/master", threshold: hudson.model.Result.SUCCESS)
6+
upstream(upstreamProjects: "spring-data-build/2.5.x", threshold: hudson.model.Result.SUCCESS)
77
}
88

99
options {
@@ -15,7 +15,7 @@ pipeline {
1515
stage("test: baseline (jdk8)") {
1616
when {
1717
anyOf {
18-
branch 'master'
18+
branch '2.5.x'
1919
not { triggeredBy 'UpstreamCause' }
2020
}
2121
}
@@ -40,7 +40,7 @@ pipeline {
4040
stage("Test other configurations") {
4141
when {
4242
allOf {
43-
branch 'master'
43+
branch '2.5.x'
4444
not { triggeredBy 'UpstreamCause' }
4545
}
4646
}
@@ -88,7 +88,7 @@ pipeline {
8888
stage('Release to artifactory') {
8989
when {
9090
anyOf {
91-
branch 'master'
91+
branch '2.5.x'
9292
not { triggeredBy 'UpstreamCause' }
9393
}
9494
}
@@ -120,7 +120,7 @@ pipeline {
120120
}
121121
stage('Publish documentation') {
122122
when {
123-
branch 'master'
123+
branch '2.5.x'
124124
}
125125
agent {
126126
label 'data'

0 commit comments

Comments
 (0)