summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-07-24 20:45:54 +0200
committerChristian Poessinger <christian@poessinger.com>2021-07-24 20:51:17 +0200
commit1c3e5e18fd746bbb6ccd4a09d1fec1bed2f8316b (patch)
tree1ab48cda5a1018d3dc410e5007fd594a96ef6857 /packages
parent9e57b42149d25092d22fd215d4bd08f3cb089c88 (diff)
downloadvyos-build-1c3e5e18fd746bbb6ccd4a09d1fec1bed2f8316b.tar.gz
vyos-build-1c3e5e18fd746bbb6ccd4a09d1fec1bed2f8316b.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.
Diffstat (limited to 'packages')
-rw-r--r--packages/frr/Jenkinsfile2
-rw-r--r--packages/iproute2/Jenkinsfile2
-rw-r--r--packages/linux-kernel/Jenkinsfile2
-rw-r--r--packages/minisign/Jenkinsfile2
-rw-r--r--packages/opennhrp/Jenkinsfile2
-rw-r--r--packages/strongswan/Jenkinsfile2
-rw-r--r--packages/wide-dhcpv6/Jenkinsfile2
7 files changed, 7 insertions, 7 deletions
diff --git a/packages/frr/Jenkinsfile b/packages/frr/Jenkinsfile
index f79a09f7..c3020676 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, null, true)
+buildPackage('FRRouting', pkgList, null, true, "**/packages/frr/*")
diff --git a/packages/iproute2/Jenkinsfile b/packages/iproute2/Jenkinsfile
index 20ec19c7..ce89aead 100644
--- a/packages/iproute2/Jenkinsfile
+++ b/packages/iproute2/Jenkinsfile
@@ -29,4 +29,4 @@ def pkgList = [
]
// Start package build using library function from https://github.com/vyos/vyos-build
-buildPackage('iproute2', pkgList, null, true)
+buildPackage('iproute2', pkgList, null, true, "**/packages/iproute2/*")
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/*")
diff --git a/packages/minisign/Jenkinsfile b/packages/minisign/Jenkinsfile
index 0fb15f5d..bfdff158 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, true)
+buildPackage('minisign', pkgList, null, true, "**/packages/minisign/*")
diff --git a/packages/opennhrp/Jenkinsfile b/packages/opennhrp/Jenkinsfile
index 0e1fe15a..61930e59 100644
--- a/packages/opennhrp/Jenkinsfile
+++ b/packages/opennhrp/Jenkinsfile
@@ -27,4 +27,4 @@ def pkgList = [
]
// Start package build using library function from https://github.com/vyos/vyos-build
-buildPackage('opennhrp', pkgList, null, true)
+buildPackage('opennhrp', pkgList, null, true, "**/packages/opennhrp/*")
diff --git a/packages/strongswan/Jenkinsfile b/packages/strongswan/Jenkinsfile
index d8b254f2..6fa02658 100644
--- a/packages/strongswan/Jenkinsfile
+++ b/packages/strongswan/Jenkinsfile
@@ -27,4 +27,4 @@ def pkgList = [
]
// Start package build using library function from https://github.com/vyos/vyos-build
-buildPackage('strongswan', pkgList, null, true)
+buildPackage('strongswan', pkgList, null, true, "**/packages/strongswan/*")
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/*")