DATAREDIS-1380 - Only build main branch for upstream triggers.

This commit is contained in:
Greg Turnquist
2019-06-28 19:41:29 -05:00
parent b01b18fdc6
commit 205b55734d

7
Jenkinsfile vendored
View File

@@ -32,6 +32,12 @@ pipeline {
}
stage("Test") {
when {
anyOf {
branch 'master'
not { triggeredBy 'UpstreamCause' }
}
}
parallel {
stage("test: baseline") {
agent {
@@ -70,6 +76,7 @@ pipeline {
stage('Release to artifactory') {
when {
branch 'issue/*'
not { triggeredBy 'UpstreamCause' }
}
agent {
docker {