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/wide-dhcpv6/Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/wide-dhcpv6/Jenkinsfile') diff --git a/packages/wide-dhcpv6/Jenkinsfile b/packages/wide-dhcpv6/Jenkinsfile index d4f9c7f6..a7418f3f 100644 --- a/packages/wide-dhcpv6/Jenkinsfile +++ b/packages/wide-dhcpv6/Jenkinsfile @@ -27,4 +27,4 @@ def pkgList = [ ] // Start package build using library function from https://github.com/vyos/vyos-build -buildPackage('wide-dhcpv6', pkgList, null, true) +buildPackage('wide-dhcpv6', pkgList, null, true, "**/packages/wide-dhcpv6/*") -- cgit v1.2.3