summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-09-22 20:16:08 +0200
committerChristian Poessinger <christian@poessinger.com>2019-09-22 20:16:08 +0200
commit12a7a498ce70c04d78fccb6e53496f946c54576b (patch)
treef31cc921685d8a07323241a66060785bfc18b661
parentf53d9c486376b3908e51cd73780980ead1e3a703 (diff)
downloadvyos-1x-12a7a498ce70c04d78fccb6e53496f946c54576b.tar.gz
vyos-1x-12a7a498ce70c04d78fccb6e53496f946c54576b.zip
Jenkins: fix dpkg architecture determination
-rw-r--r--Jenkinsfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index b937d22e6..386058a79 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -131,8 +131,8 @@ pipeline {
files = findFiles(glob: '*.deb')
files.each { PACKAGE ->
def RELEASE = getGitBranchName()
- def ARCH = sh(returnStdout: true, script: "dpkg-deb -f ${pkg} Architecture").trim()
- def SUBSTRING = sh(returnStdout: true, script: "dpkg-deb -f ${pkg} Package").trim()
+ def ARCH = sh(returnStdout: true, script: "dpkg-deb -f ${PACKAGE} Architecture").trim()
+ def SUBSTRING = sh(returnStdout: true, script: "dpkg-deb -f ${PACKAGE} Package").trim()
def SSH_DIR = '~/VyOS/' + RELEASE + '/' + ARCH
// No need to explicitly check the return code. The pipeline