Jenkins: lib: Nested when condition "not" requires exactly 1 child condition

This commit is contained in:
Christian Poessinger 2020-06-21 12:31:22 +02:00
parent 4d11e8b33d
commit 055d658a71

22
Jenkinsfile vendored
View File

@ -169,13 +169,10 @@ pipeline {
beforeOptions true
beforeAgent true
anyOf {
// Do not run ISO build when the Docker container definition or
// the build pipeline library changes as this has no direct impact
// on the ISO image.
not {
changeset "**/docker/*"
changeset "**/vars/*"
}
// Do not run ISO build when the Docker container definition or the build pipeline
// library changes as this has no direct impact on the ISO image.
not { changeset "**/docker/*" }
not { changeset "**/vars/*" }
triggeredBy 'TimerTrigger'
triggeredBy cause: "UserIdCause"
}
@ -202,13 +199,10 @@ pipeline {
beforeOptions true
beforeAgent true
anyOf {
// Do not run ISO build when the Docker container definition or
// the build pipeline library changes as this has no direct impact
// on the ISO image.
not {
changeset "**/docker/*"
changeset "**/vars/*"
}
// Do not run ISO build when the Docker container definition or the build pipeline
// library changes as this has no direct impact on the ISO image.
not { changeset "**/docker/*" }
not { changeset "**/vars/*" }
triggeredBy 'TimerTrigger'
triggeredBy cause: "UserIdCause"
}