DATAJPA-1583 - Create CI job.

This commit is contained in:
Greg Turnquist
2019-09-30 14:31:40 -05:00
parent 3af3410f0f
commit a8e501214c

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