#481 - Enable maintenance branch build.

This commit is contained in:
Mark Paluch
2020-10-29 09:45:33 +01:00
parent 05b3424abb
commit 2cc01da41d

10
Jenkinsfile vendored
View File

@@ -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,spring-data-jdbc/2.1.x", threshold: hudson.model.Result.SUCCESS)
}
options {
@@ -15,7 +15,7 @@ pipeline {
stage("test: baseline (jdk8)") {
when {
anyOf {
branch 'master'
branch '1.2.x'
not { triggeredBy 'UpstreamCause' }
}
}
@@ -38,7 +38,7 @@ pipeline {
stage("Test other configurations") {
when {
allOf {
branch 'master'
branch '1.2.x'
not { triggeredBy 'UpstreamCause' }
}
}
@@ -82,7 +82,7 @@ pipeline {
stage('Release to artifactory') {
when {
anyOf {
branch 'master'
branch '1.2.x'
not { triggeredBy 'UpstreamCause' }
}
}
@@ -114,7 +114,7 @@ pipeline {
stage('Publish documentation') {
when {
branch 'master'
branch '1.2.x'
}
agent {
docker {