DATAES-950 - Enable maintenance branch build.

This commit is contained in:
Mark Paluch 2020-10-29 09:53:38 +01:00
parent 70d556e526
commit 4b1c4c8000
No known key found for this signature in database
GPG Key ID: 51A00FA751B91849

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", threshold: hudson.model.Result.SUCCESS)
}
options {
@ -15,7 +15,7 @@ pipeline {
stage("test: baseline (jdk8)") {
when {
anyOf {
branch 'master'
branch '4.1.x'
not { triggeredBy 'UpstreamCause' }
}
}
@ -40,7 +40,7 @@ pipeline {
stage("Test other configurations") {
when {
allOf {
branch 'master'
branch '4.1.x'
not { triggeredBy 'UpstreamCause' }
}
}
@ -88,7 +88,7 @@ pipeline {
stage('Release to artifactory') {
when {
anyOf {
branch 'master'
branch '4.1.x'
not { triggeredBy 'UpstreamCause' }
}
}
@ -119,7 +119,7 @@ pipeline {
}
stage('Publish documentation') {
when {
branch 'master'
branch '4.1.x'
}
agent {
docker {