mirror of
https://github.com/spring-projects/spring-data-elasticsearch.git
synced 2025-06-29 07:12:26 +00:00
DATAES-583 - Only build main branch when triggered upstream.
This commit is contained in:
parent
633d78686b
commit
3f3fb5e975
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -12,6 +12,12 @@ pipeline {
|
||||
|
||||
stages {
|
||||
stage("Test") {
|
||||
when {
|
||||
anyOf {
|
||||
branch '3.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