summaryrefslogtreecommitdiff
path: root/vars
diff options
context:
space:
mode:
Diffstat (limited to 'vars')
-rw-r--r--vars/buildPackage.groovy2
1 files changed, 1 insertions, 1 deletions
diff --git a/vars/buildPackage.groovy b/vars/buildPackage.groovy
index 3d51fde3..f138268b 100644
--- a/vars/buildPackage.groovy
+++ b/vars/buildPackage.groovy
@@ -180,8 +180,8 @@ def call(description=null, pkgList=null, buildCmd=null) {
// No need to explicitly check the return code. The pipeline
// will fail if sh returns a noni-zero exit code
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} "mkdir -p ${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'; \