DATAES-625 - Create CI job.

This commit is contained in:
Greg Turnquist 2019-09-30 14:23:41 -05:00
parent 6f4d1dcc57
commit ff74425132
No known key found for this signature in database
GPG Key ID: CB2FA4D512B5C413

8
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.2.x", threshold: hudson.model.Result.SUCCESS)
} }
options { options {
@ -15,7 +15,7 @@ pipeline {
stage("Test") { stage("Test") {
when { when {
anyOf { anyOf {
branch 'master' branch '3.2.x'
not { triggeredBy 'UpstreamCause' } not { triggeredBy 'UpstreamCause' }
} }
} }
@ -39,7 +39,7 @@ pipeline {
stage('Release to artifactory') { stage('Release to artifactory') {
when { when {
anyOf { anyOf {
branch 'master' branch '3.2.x'
not { triggeredBy 'UpstreamCause' } not { triggeredBy 'UpstreamCause' }
} }
} }
@ -70,7 +70,7 @@ pipeline {
} }
stage('Publish documentation') { stage('Publish documentation') {
when { when {
branch 'master' branch '3.2.x'
} }
agent { agent {
docker { docker {