Browse Source

DATAMONGO-2280 - Only test main branch for upstream triggers.

pull/766/head
Greg Turnquist 7 years ago
parent
commit
8ce8a8307a
No known key found for this signature in database
GPG Key ID: CB2FA4D512B5C413
  1. 13
      Jenkinsfile

13
Jenkinsfile vendored

@ -49,6 +49,12 @@ pipeline { @@ -49,6 +49,12 @@ pipeline {
}
stage("test: baseline") {
when {
anyOf {
branch 'master'
not { triggeredBy 'UpstreamCause' }
}
}
agent {
docker {
image 'springci/spring-data-openjdk8-with-mongodb-4.0:latest'
@ -68,6 +74,12 @@ pipeline { @@ -68,6 +74,12 @@ pipeline {
}
stage("Test other configurations") {
when {
anyOf {
branch 'master'
not { triggeredBy 'UpstreamCause' }
}
}
parallel {
stage("test: mongodb 4.1") {
agent {
@ -94,6 +106,7 @@ pipeline { @@ -94,6 +106,7 @@ pipeline {
stage('Release to artifactory') {
when {
branch 'issue/*'
not { triggeredBy 'UpstreamCause' }
}
agent {
docker {

Loading…
Cancel
Save