diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-06-21 12:38:54 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-06-21 12:38:54 +0200 |
commit | 09e0d2cecb393475d8d8153a6f4d6bcbbc257d5a (patch) | |
tree | 9f4cd89aa71aa0583db3614b1797ff09132110c7 /vars/buildPackage.groovy | |
parent | 055d658a71c89aaa27f8b9bc77d8686410a5725c (diff) | |
download | vyos-build-09e0d2cecb393475d8d8153a6f4d6bcbbc257d5a.tar.gz vyos-build-09e0d2cecb393475d8d8153a6f4d6bcbbc257d5a.zip |
Jenkins: lib: T2625: change order of deployment commands
Diffstat (limited to 'vars/buildPackage.groovy')
-rw-r--r-- | vars/buildPackage.groovy | 2 |
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'; \ |