diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-07-24 20:45:54 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-07-24 21:25:01 +0200 |
commit | 814b4f9a8e81880fb5170d350ac84c9a36590b16 (patch) | |
tree | a42b9a70d08d9707b48603c180c56ddc473ee447 /packages | |
parent | 17527d43a93cc4dec19aad098322dcf37b9ac975 (diff) | |
download | vyos-build-814b4f9a8e81880fb5170d350ac84c9a36590b16.tar.gz vyos-build-814b4f9a8e81880fb5170d350ac84c9a36590b16.zip |
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.
(cherry picked from commit 1c3e5e18fd746bbb6ccd4a09d1fec1bed2f8316b)
Diffstat (limited to 'packages')
-rw-r--r-- | packages/frr/Jenkinsfile | 2 | ||||
-rw-r--r-- | packages/iproute2/Jenkinsfile | 2 | ||||
-rw-r--r-- | packages/minisign/Jenkinsfile | 2 | ||||
-rw-r--r-- | packages/wide-dhcpv6/Jenkinsfile | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/packages/frr/Jenkinsfile b/packages/frr/Jenkinsfile index 94c89d1e..2948c29a 100644 --- a/packages/frr/Jenkinsfile +++ b/packages/frr/Jenkinsfile @@ -28,4 +28,4 @@ def pkgList = [ ] // Start package build using library function from https://github.com/vyos/vyos-build -buildPackage('FRRouting', pkgList) +buildPackage('FRRouting', pkgList, null, "**/packages/frr/*") diff --git a/packages/iproute2/Jenkinsfile b/packages/iproute2/Jenkinsfile index ccaed808..f6f490e0 100644 --- a/packages/iproute2/Jenkinsfile +++ b/packages/iproute2/Jenkinsfile @@ -28,4 +28,4 @@ def pkgList = [ ] // Start package build using library function from https://github.com/vyos/vyos-build -buildPackage('iproute2', pkgList) +buildPackage('iproute2', pkgList, null, "**/packages/iproute2/*") diff --git a/packages/minisign/Jenkinsfile b/packages/minisign/Jenkinsfile index b9ec5788..156e5848 100644 --- a/packages/minisign/Jenkinsfile +++ b/packages/minisign/Jenkinsfile @@ -28,4 +28,4 @@ def pkgList = [ 'buildCmd': 'cd ..; ./build-minisign.sh'], ] // Start package build using library function from https://github.com/vyos/vyos-build -buildPackage('minisign', pkgList, null) +buildPackage('minisign', pkgList, null, "**/packages/minisign/*") diff --git a/packages/wide-dhcpv6/Jenkinsfile b/packages/wide-dhcpv6/Jenkinsfile index b228bc73..13f55dde 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) +buildPackage('wide-dhcpv6', pkgList, null, "**/packages/wide-dhcpv6/*") |