mirror of
https://github.com/spring-projects/spring-data-elasticsearch.git
synced 2025-06-23 04:22:12 +00:00
parent
ac73ba4774
commit
7b96041bc3
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -20,8 +20,9 @@ pipeline {
|
|||||||
stages {
|
stages {
|
||||||
stage("test: baseline (main)") {
|
stage("test: baseline (main)") {
|
||||||
when {
|
when {
|
||||||
|
beforeAgent(true)
|
||||||
anyOf {
|
anyOf {
|
||||||
branch 'main'
|
branch(pattern: "main|(\\d\\.\\d\\.x)", comparator: "REGEXP")
|
||||||
not { triggeredBy 'UpstreamCause' }
|
not { triggeredBy 'UpstreamCause' }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -108,8 +109,9 @@ pipeline {
|
|||||||
|
|
||||||
stage('Release to artifactory') {
|
stage('Release to artifactory') {
|
||||||
when {
|
when {
|
||||||
|
beforeAgent(true)
|
||||||
anyOf {
|
anyOf {
|
||||||
branch 'main'
|
branch(pattern: "main|(\\d\\.\\d\\.x)", comparator: "REGEXP")
|
||||||
not { triggeredBy 'UpstreamCause' }
|
not { triggeredBy 'UpstreamCause' }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user