diff options
| author | Christian Poessinger <christian@poessinger.com> | 2020-06-21 12:02:41 +0200 |
|---|---|---|
| committer | Christian Poessinger <christian@poessinger.com> | 2020-06-21 12:02:43 +0200 |
| commit | 718cc0ea22923c531cf66f531714af2999cfa776 (patch) | |
| tree | 007590a5d00d8a03492de6b23d6273c2d1c297e3 /packages/netfilter | |
| parent | 97627aa19df5e87f5888e6bf29a43b19f598f05b (diff) | |
| download | vyos-build-718cc0ea22923c531cf66f531714af2999cfa776.tar.gz vyos-build-718cc0ea22923c531cf66f531714af2999cfa776.zip | |
Jenkins: packages: add underscore for library calls
The underscore (_) is not a typo! You need this underscore if the line
immediately after the @Library annotation is not an import statement!
Diffstat (limited to 'packages/netfilter')
| -rw-r--r-- | packages/netfilter/Jenkinsfile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/netfilter/Jenkinsfile b/packages/netfilter/Jenkinsfile index d73fd3dd..882ba034 100644 --- a/packages/netfilter/Jenkinsfile +++ b/packages/netfilter/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 @@ -47,4 +49,5 @@ def pkgList = [ dpkg-buildpackage -uc -us -tc -b'''] ] +// Start package build using library function from https://github.com/c-po/vyos-build buildPackage('Netfilter', pkgList) |
