From 7e15d427f7e4b82f0d9ac8c688779f3e18e917a4 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 24 Jun 2020 17:26:04 +0200 Subject: Jenkins: lib: T2625: extend quotes on SSH commands --- vars/buildPackage.groovy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vars') 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}'" """ } } -- cgit v1.2.3