mirror of
https://github.com/spring-projects/spring-data-elasticsearch.git
synced 2025-06-23 12:32:10 +00:00
Update Jenkinsfile according to Java 8 build pipeline configuration.
See #2120
This commit is contained in:
parent
ea0ac3f7bc
commit
a2cee9defd
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@ -9,7 +9,7 @@ pipeline {
|
|||||||
|
|
||||||
triggers {
|
triggers {
|
||||||
pollSCM 'H/10 * * * *'
|
pollSCM 'H/10 * * * *'
|
||||||
upstream(upstreamProjects: "spring-data-commons/main", threshold: hudson.model.Result.SUCCESS)
|
upstream(upstreamProjects: "spring-data-commons/2.7.x", threshold: hudson.model.Result.SUCCESS)
|
||||||
}
|
}
|
||||||
|
|
||||||
options {
|
options {
|
||||||
@ -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' }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -50,8 +51,9 @@ pipeline {
|
|||||||
|
|
||||||
stage("Test other configurations") {
|
stage("Test other configurations") {
|
||||||
when {
|
when {
|
||||||
|
beforeAgent(true)
|
||||||
allOf {
|
allOf {
|
||||||
branch 'main'
|
branch(pattern: "main|(\\d\\.\\d\\.x)", comparator: "REGEXP")
|
||||||
not { triggeredBy 'UpstreamCause' }
|
not { triggeredBy 'UpstreamCause' }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -108,8 +110,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