diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-06-05 09:55:27 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-06-05 10:06:30 +0200 |
commit | 8a6a04fe78dfea724aa807af8911f7210562e59a (patch) | |
tree | 0ea487b6230b7953c3c12fec6aaa2ff5c73c05ad /Jenkinsfile | |
parent | ff5df7189b8913c227695ee738198c90e0028b01 (diff) | |
download | vyos-build-8a6a04fe78dfea724aa807af8911f7210562e59a.tar.gz vyos-build-8a6a04fe78dfea724aa807af8911f7210562e59a.zip |
Jenkins: re-add erroneously removed when build conditions
Debian packages should only be build if a file in the requested subfolder
changes (like a version upgrade) or if explicitly reuested by the user.
VyOS ISO generation should only be run once a night by the CI if triggered by
the timer, or on explicit user request.
Diffstat (limited to 'Jenkinsfile')
-rw-r--r-- | Jenkinsfile | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index b682f41c..dbb0d9cd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -124,11 +124,8 @@ 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/*" } + // Only run ISO image build process of explicit user request or + // once a night triggered by the timer. anyOf { triggeredBy 'TimerTrigger' triggeredBy cause: "UserIdCause" |