From 2e0d072fdd9b54526ad12c8b62b223ca15ac30de Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 2 Aug 2020 21:01:04 +0200 Subject: Jenkins: fix when condition on ISO build The ISO should not be build when there is e.g. a change on the Kernel. --- Jenkinsfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Jenkinsfile') diff --git a/Jenkinsfile b/Jenkinsfile index 17f0ca51..ceaae5da 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -120,12 +120,12 @@ pipeline { when { beforeOptions true beforeAgent true + // 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/*" } + not { changeset "**/packages/*" } 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/*" } - not { changeset "**/vars/*" } - not { changeset "**/packages/*" } triggeredBy 'TimerTrigger' triggeredBy cause: "UserIdCause" } -- cgit v1.2.3