summaryrefslogtreecommitdiff
path: root/packages/frr/Jenkinsfile
diff options
context:
space:
mode:
Diffstat (limited to 'packages/frr/Jenkinsfile')
-rw-r--r--packages/frr/Jenkinsfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/frr/Jenkinsfile b/packages/frr/Jenkinsfile
index d661d755..48dc64c8 100644
--- a/packages/frr/Jenkinsfile
+++ b/packages/frr/Jenkinsfile
@@ -15,8 +15,10 @@
@NonCPS
-// Using a version specifier library, use 'current' branch
-@Library('vyos-build@current')
+// Using a version specifier library, use 'current' branch. The underscore (_)
+// is not a typo! You need this underscore if the line immediately after the
+// @Library annotation is not an import statement!
+@Library('vyos-build@current')_
def pkgList = [
// pkg-libnftnl
@@ -26,4 +28,5 @@ def pkgList = [
'buildCmd': '''./tools/tarsource.sh -V; dpkg-buildpackage -us -uc -Ppkg.frr.rtrlib'''],
]
+// Start package build using library function from https://github.com/c-po/vyos-build
buildPackage('FRRouting', pkgList)