diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-06-24 17:26:04 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-06-24 17:26:04 +0200 |
commit | 7e15d427f7e4b82f0d9ac8c688779f3e18e917a4 (patch) | |
tree | 04c1929ee19138b1c5001eccf9e8c164f433a860 /vars | |
parent | 30b81d7931b596d70dbe392b5240eebed3804003 (diff) | |
download | vyos-build-7e15d427f7e4b82f0d9ac8c688779f3e18e917a4.tar.gz vyos-build-7e15d427f7e4b82f0d9ac8c688779f3e18e917a4.zip |
Jenkins: lib: T2625: extend quotes on SSH commands
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 61ff7dee..edd854b7 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} -t "uncron-add 'reprepro -v -b ${VYOS_REPO_PATH} ${ARCH_OPT} remove ${RELEASE} ${PKG}'" + ssh ${SSH_OPTS} ${SSH_REMOTE} -t "uncron-add 'reprepro -v -b ${VYOS_REPO_PATH} deleteunreferenced'" + ssh ${SSH_OPTS} ${SSH_REMOTE} -t "uncron-add 'reprepro -v -b ${VYOS_REPO_PATH} ${ARCH_OPT} includedeb ${RELEASE} ${SSH_DIR}/${FILE}'" """ } } |