Browse Source

Update Jenkins job after branching.

See #2345
pull/2456/head
Mark Paluch 5 years ago
parent
commit
7bab9b9089
No known key found for this signature in database
GPG Key ID: 4406B84C1661DCD1
  1. 10
      Jenkinsfile

10
Jenkinsfile vendored

@ -3,7 +3,7 @@ pipeline { @@ -3,7 +3,7 @@ pipeline {
triggers {
pollSCM 'H/10 * * * *'
upstream(upstreamProjects: "spring-data-build/master", threshold: hudson.model.Result.SUCCESS)
upstream(upstreamProjects: "spring-data-build/2.5.x", threshold: hudson.model.Result.SUCCESS)
}
options {
@ -15,7 +15,7 @@ pipeline { @@ -15,7 +15,7 @@ pipeline {
stage("test: baseline (jdk8)") {
when {
anyOf {
branch 'master'
branch '2.5.x'
not { triggeredBy 'UpstreamCause' }
}
}
@ -40,7 +40,7 @@ pipeline { @@ -40,7 +40,7 @@ pipeline {
stage("Test other configurations") {
when {
allOf {
branch 'master'
branch '2.5.x'
not { triggeredBy 'UpstreamCause' }
}
}
@ -88,7 +88,7 @@ pipeline { @@ -88,7 +88,7 @@ pipeline {
stage('Release to artifactory') {
when {
anyOf {
branch 'master'
branch '2.5.x'
not { triggeredBy 'UpstreamCause' }
}
}
@ -120,7 +120,7 @@ pipeline { @@ -120,7 +120,7 @@ pipeline {
}
stage('Publish documentation') {
when {
branch 'master'
branch '2.5.x'
}
agent {
label 'data'

Loading…
Cancel
Save