diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-06-24 08:02:24 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-06-24 08:02:24 +0200 |
commit | 30b81d7931b596d70dbe392b5240eebed3804003 (patch) | |
tree | b8f2c2e554aa5ef79c69458cd9f04d3bf069377d /vars | |
parent | 4690fd72efe322c25082aeed1b337cb0c0cf53f0 (diff) | |
download | vyos-build-30b81d7931b596d70dbe392b5240eebed3804003.tar.gz vyos-build-30b81d7931b596d70dbe392b5240eebed3804003.zip |
Jenkins: lib: T2625: SSH commands must be wrapped in "" to function
Diffstat (limited to 'vars')
-rw-r--r-- | vars/buildPackage.groovy | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vars/buildPackage.groovy b/vars/buildPackage.groovy index eb660eb9..61ff7dee 100644 --- a/vars/buildPackage.groovy +++ b/vars/buildPackage.groovy @@ -181,9 +181,9 @@ def call(description=null, pkgList=null, buildCmd=null) { sh """ ssh ${SSH_OPTS} ${SSH_REMOTE} -t "bash --login -c 'mkdir -p ${SSH_DIR}'" scp ${SSH_OPTS} ${FILE} ${SSH_REMOTE}:${SSH_DIR}/ - ssh ${SSH_OPTS} ${SSH_REMOTE} uncron-add 'reprepro -v -b ${VYOS_REPO_PATH} ${ARCH_OPT} remove ${RELEASE} ${PKG}' - ssh ${SSH_OPTS} ${SSH_REMOTE} uncron-add 'reprepro -v -b ${VYOS_REPO_PATH} deleteunreferenced' - ssh ${SSH_OPTS} ${SSH_REMOTE} uncron-add 'reprepro -v -b ${VYOS_REPO_PATH} ${ARCH_OPT} includedeb ${RELEASE} ${SSH_DIR}/${FILE}' + ssh ${SSH_OPTS} ${SSH_REMOTE} uncron-add "reprepro -v -b ${VYOS_REPO_PATH} ${ARCH_OPT} remove ${RELEASE} ${PKG}" + ssh ${SSH_OPTS} ${SSH_REMOTE} uncron-add "reprepro -v -b ${VYOS_REPO_PATH} deleteunreferenced" + ssh ${SSH_OPTS} ${SSH_REMOTE} uncron-add "reprepro -v -b ${VYOS_REPO_PATH} ${ARCH_OPT} includedeb ${RELEASE} ${SSH_DIR}/${FILE}" """ } } |