summaryrefslogtreecommitdiff
path: root/vars
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-08 20:27:30 +0100
committerChristian Poessinger <christian@poessinger.com>2021-02-08 21:58:48 +0100
commitdb4a33fa3b66270fb95f85cc392151afd94bcbf8 (patch)
tree3240f01db9e01a59d6f773c41183fa01a8495056 /vars
parent3c3f35555ea7bfa7569f10fb0819b848f81ff663 (diff)
downloadvyos-build-db4a33fa3b66270fb95f85cc392151afd94bcbf8.tar.gz
vyos-build-db4a33fa3b66270fb95f85cc392151afd94bcbf8.zip
Jenkins: frr: support arm64 builds
Diffstat (limited to 'vars')
-rw-r--r--vars/buildPackage.groovy7
1 files changed, 3 insertions, 4 deletions
diff --git a/vars/buildPackage.groovy b/vars/buildPackage.groovy
index ce85b873..b777f2b2 100644
--- a/vars/buildPackage.groovy
+++ b/vars/buildPackage.groovy
@@ -51,7 +51,7 @@ def call(description=null, pkgList=null, buildCmd=null, buildArm=false) {
options {
disableConcurrentBuilds()
skipDefaultCheckout()
- timeout(time: 60, unit: 'MINUTES')
+ timeout(time: 120, unit: 'MINUTES')
timestamps()
}
stages {
@@ -130,10 +130,9 @@ def call(description=null, pkgList=null, buildCmd=null, buildArm=false) {
// publish build result, using SSH-dev.packages.vyos.net Jenkins Credentials
sshagent(['SSH-dev.packages.vyos.net']) {
- files = findFiles(glob: '*.deb')
+ files = findFiles(glob: '**/*.deb')
if (files) {
sh(script: "ssh ${SSH_OPTS} ${SSH_REMOTE} -t \"bash --login -c 'mkdir -p ${SSH_DIR}'\"")
- sh(script: "scp ${SSH_OPTS} -r *.deb ${SSH_REMOTE}:${SSH_DIR}")
echo "Uploading package(s) and updating package(s) in the repository ..."
files.each { FILE ->
// NOTE: Groovy is a pain in the ass and " quotes differ from ', so all shell code must use " in the beginning
@@ -142,7 +141,7 @@ def call(description=null, pkgList=null, buildCmd=null, buildArm=false) {
def ARCH = ''
if (PACKAGE_ARCH != 'all')
ARCH = '-A ' + PACKAGE_ARCH
-
+ sh(script: "scp ${SSH_OPTS} ${FILE} ${SSH_REMOTE}:${SSH_DIR}")
sh(script: "ssh ${SSH_OPTS} ${SSH_REMOTE} -t \"uncron-add 'reprepro -v -b ${VYOS_REPO_PATH} ${ARCH} remove ${RELEASE} ${PACKAGE}'\"")
sh(script: "ssh ${SSH_OPTS} ${SSH_REMOTE} -t \"uncron-add 'reprepro -v -b ${VYOS_REPO_PATH} ${ARCH} includedeb ${RELEASE} ${SSH_DIR}/${FILE}'\"")
}