summaryrefslogtreecommitdiff
path: root/vars/buildPackage.groovy
diff options
context:
space:
mode:
Diffstat (limited to 'vars/buildPackage.groovy')
-rw-r--r--vars/buildPackage.groovy8
1 files changed, 3 insertions, 5 deletions
diff --git a/vars/buildPackage.groovy b/vars/buildPackage.groovy
index 35f0784c..eb660eb9 100644
--- a/vars/buildPackage.groovy
+++ b/vars/buildPackage.groovy
@@ -181,11 +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}'; \
- uncron-add 'reprepro -v -b ${VYOS_REPO_PATH} deleteunreferenced'; \
- 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}'
"""
}
}