From 8a6a04fe78dfea724aa807af8911f7210562e59a Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 5 Jun 2021 09:55:27 +0200 Subject: 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. --- Jenkinsfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'Jenkinsfile') 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" -- cgit v1.2.3