DATAKV-324 - Enable maintenance branch build.

This commit is contained in:
Mark Paluch
2020-10-29 09:35:40 +01:00
parent ea0afd5527
commit 9534f14aa7

10
Jenkinsfile vendored
View File

@@ -3,7 +3,7 @@ pipeline {
triggers { triggers {
pollSCM 'H/10 * * * *' 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 { options {
@@ -15,7 +15,7 @@ pipeline {
stage("test: baseline (jdk8)") { stage("test: baseline (jdk8)") {
when { when {
anyOf { anyOf {
branch 'master' branch '2.4.x'
not { triggeredBy 'UpstreamCause' } not { triggeredBy 'UpstreamCause' }
} }
} }
@@ -36,7 +36,7 @@ pipeline {
stage("Test other configurations") { stage("Test other configurations") {
when { when {
allOf { allOf {
branch 'master' branch '2.4.x'
not { triggeredBy 'UpstreamCause' } not { triggeredBy 'UpstreamCause' }
} }
} }
@@ -76,7 +76,7 @@ pipeline {
stage('Release to artifactory') { stage('Release to artifactory') {
when { when {
anyOf { anyOf {
branch 'master' branch '2.4.x'
not { triggeredBy 'UpstreamCause' } not { triggeredBy 'UpstreamCause' }
} }
} }
@@ -107,7 +107,7 @@ pipeline {
} }
stage('Publish documentation') { stage('Publish documentation') {
when { when {
branch 'master' branch '2.4.x'
} }
agent { agent {
docker { docker {