DATACOUCH-456 - Only build main branch for upstream triggers.

This commit is contained in:
Greg Turnquist
2019-06-28 16:27:40 -05:00
parent 3704a67abe
commit 9c2e4ec3b5

7
Jenkinsfile vendored
View File

@@ -12,6 +12,12 @@ pipeline {
stages {
stage("Test") {
when {
anyOf {
branch '3.1.x'
not { triggeredBy 'UpstreamCause' }
}
}
parallel {
stage("test: baseline") {
agent {
@@ -33,6 +39,7 @@ pipeline {
stage('Release to artifactory') {
when {
branch 'issue/*'
not { triggeredBy 'UpstreamCause' }
}
agent {
docker {