summaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-08-02 21:01:04 +0200
committerChristian Poessinger <christian@poessinger.com>2020-08-02 21:01:06 +0200
commit2e0d072fdd9b54526ad12c8b62b223ca15ac30de (patch)
treee52b15afcae7e70b29b67c972ab4285165ea10cd /Jenkinsfile
parentb656e70b6e514c8f2904152b73098793dad1b594 (diff)
downloadvyos-build-2e0d072fdd9b54526ad12c8b62b223ca15ac30de.tar.gz
vyos-build-2e0d072fdd9b54526ad12c8b62b223ca15ac30de.zip
Jenkins: fix when condition on ISO build
The ISO should not be build when there is e.g. a change on the Kernel.
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile10
1 files changed, 5 insertions, 5 deletions
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"
}