DATAJPA-1545 - Only build main branch when triggered upstream.

This commit is contained in:
Greg Turnquist
2019-06-28 16:20:43 -05:00
parent 1b36211788
commit 2fd4982611

7
Jenkinsfile vendored
View File

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