DATAREDIS-1023 - Create CI job.

This commit is contained in:
Greg Turnquist
2019-09-30 14:39:18 -05:00
parent e9e35c2e1c
commit 787e7a2575

8
Jenkinsfile vendored
View File

@@ -3,7 +3,7 @@ pipeline {
triggers {
pollSCM 'H/10 * * * *'
upstream(upstreamProjects: "spring-data-keyvalue/master", threshold: hudson.model.Result.SUCCESS)
upstream(upstreamProjects: "spring-data-keyvalue/2.2.x", threshold: hudson.model.Result.SUCCESS)
}
options {
@@ -35,7 +35,7 @@ pipeline {
stage("Test") {
when {
anyOf {
branch 'master'
branch '2.2.x'
not { triggeredBy 'UpstreamCause' }
}
}
@@ -78,7 +78,7 @@ pipeline {
stage('Release to artifactory') {
when {
anyOf {
branch 'master'
branch '2.2.x'
not { triggeredBy 'UpstreamCause' }
}
}
@@ -110,7 +110,7 @@ pipeline {
stage('Publish documentation') {
when {
branch 'master'
branch '2.2.x'
}
agent {
docker {