Skip to content

Commit 2b7c115

Browse files
committed
DATACMNS-1562 - Create CI job.
1 parent 789676a commit 2b7c115

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Jenkinsfile

+4-4
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,2.x", threshold: hudson.model.Result.SUCCESS)
77
}
88

99
options {
@@ -15,7 +15,7 @@ pipeline {
1515
stage("Test") {
1616
when {
1717
anyOf {
18-
branch 'master'
18+
branch '2.2.x'
1919
not { triggeredBy 'UpstreamCause' }
2020
}
2121
}
@@ -39,7 +39,7 @@ pipeline {
3939
stage('Release to artifactory') {
4040
when {
4141
anyOf {
42-
branch 'master'
42+
branch '2.2.x'
4343
not { triggeredBy 'UpstreamCause' }
4444
}
4545
}
@@ -70,7 +70,7 @@ pipeline {
7070
}
7171
stage('Publish documentation') {
7272
when {
73-
branch 'master'
73+
branch '2.2.x'
7474
}
7575
agent {
7676
docker {

0 commit comments

Comments
 (0)