mirror of
https://github.com/spring-projects/spring-data-elasticsearch.git
synced 2025-05-31 09:12:11 +00:00
DATAES-583 - Only build main branch when triggered upstream.
This commit is contained in:
parent
e3003f3268
commit
18ae3e194a
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -12,6 +12,12 @@ pipeline {
|
||||
|
||||
stages {
|
||||
stage("Test") {
|
||||
when {
|
||||
anyOf {
|
||||
branch 'master'
|
||||
not { triggeredBy 'UpstreamCause' }
|
||||
}
|
||||
}
|
||||
parallel {
|
||||
stage("test: baseline") {
|
||||
agent {
|
||||
@ -31,6 +37,7 @@ pipeline {
|
||||
stage('Release to artifactory') {
|
||||
when {
|
||||
branch 'issue/*'
|
||||
not { triggeredBy 'UpstreamCause' }
|
||||
}
|
||||
agent {
|
||||
docker {
|
||||
|
Loading…
x
Reference in New Issue
Block a user