mirror of
https://github.com/spring-projects/spring-data-elasticsearch.git
synced 2025-06-08 13:12:10 +00:00
DATAES-583 - Only build main branch when triggered upstream.
This commit is contained in:
parent
106b0ce156
commit
c1e8f4675e
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -12,6 +12,12 @@ pipeline {
|
||||
|
||||
stages {
|
||||
stage("Test") {
|
||||
when {
|
||||
anyOf {
|
||||
branch '2.1.x'
|
||||
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