From 1c3e5e18fd746bbb6ccd4a09d1fec1bed2f8316b Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 24 Jul 2021 20:45:54 +0200 Subject: Jenkins: only build packages if the package changes at all - skip otherwise This will only run the Jenkins Pipeline if Git detects a change in the specified file path. If no change is found in the path, the individual Pipeline statges are skipped. --- packages/linux-kernel/Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/linux-kernel/Jenkinsfile') diff --git a/packages/linux-kernel/Jenkinsfile b/packages/linux-kernel/Jenkinsfile index 0ef7cfc1..812b5df4 100644 --- a/packages/linux-kernel/Jenkinsfile +++ b/packages/linux-kernel/Jenkinsfile @@ -58,4 +58,4 @@ def pkgList = [ ] // Start package build using library function from https://github.com/vyos/vyos-build -buildPackage('Kernel', pkgList, null, true) +buildPackage('Kernel', pkgList, null, true, "**/packages/linux-kernel/*") -- cgit v1.2.3