1
0
mirror of synced 2026-07-07 02:30:01 +00:00

Refine CI triggers.

See #2220
This commit is contained in:
Mark Paluch
2022-07-18 09:18:28 +02:00
parent ac73ba4774
commit 7b96041bc3
Vendored
+4 -2
View File
@@ -20,8 +20,9 @@ pipeline {
stages {
stage("test: baseline (main)") {
when {
beforeAgent(true)
anyOf {
branch 'main'
branch(pattern: "main|(\\d\\.\\d\\.x)", comparator: "REGEXP")
not { triggeredBy 'UpstreamCause' }
}
}
@@ -108,8 +109,9 @@ pipeline {
stage('Release to artifactory') {
when {
beforeAgent(true)
anyOf {
branch 'main'
branch(pattern: "main|(\\d\\.\\d\\.x)", comparator: "REGEXP")
not { triggeredBy 'UpstreamCause' }
}
}