Browse Source

#121 - Only build main branch for upstream triggers.

pull/1188/head
Greg Turnquist 7 years ago
parent
commit
47e181262e
No known key found for this signature in database
GPG Key ID: CB2FA4D512B5C413
  1. 7
      Jenkinsfile

7
Jenkinsfile vendored

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

Loading…
Cancel
Save