diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-08-02 21:01:04 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-08-02 21:01:06 +0200 |
commit | 2e0d072fdd9b54526ad12c8b62b223ca15ac30de (patch) | |
tree | e52b15afcae7e70b29b67c972ab4285165ea10cd /Jenkinsfile | |
parent | b656e70b6e514c8f2904152b73098793dad1b594 (diff) | |
download | vyos-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-- | Jenkinsfile | 10 |
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" } |