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

This commit is contained in:
Greg Turnquist
2019-06-28 19:45:27 -05:00
parent abf5d05ad6
commit 76a3baed3a

7
Jenkinsfile vendored
View File

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