mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
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!
This commit is contained in:
parent
97627aa19d
commit
718cc0ea22
7
packages/frr/Jenkinsfile
vendored
7
packages/frr/Jenkinsfile
vendored
@ -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)
|
||||
|
||||
7
packages/netfilter/Jenkinsfile
vendored
7
packages/netfilter/Jenkinsfile
vendored
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user