diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-09-22 20:16:08 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-09-22 20:16:08 +0200 |
commit | 12a7a498ce70c04d78fccb6e53496f946c54576b (patch) | |
tree | f31cc921685d8a07323241a66060785bfc18b661 /Jenkinsfile | |
parent | f53d9c486376b3908e51cd73780980ead1e3a703 (diff) | |
download | vyos-1x-12a7a498ce70c04d78fccb6e53496f946c54576b.tar.gz vyos-1x-12a7a498ce70c04d78fccb6e53496f946c54576b.zip |
Jenkins: fix dpkg architecture determination
Diffstat (limited to 'Jenkinsfile')
-rw-r--r-- | Jenkinsfile | 4 |
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 |