summaryrefslogtreecommitdiff
path: root/vars/buildPackage.groovy
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-08 19:56:02 +0100
committerChristian Poessinger <christian@poessinger.com>2021-02-08 19:56:02 +0100
commit3c3f35555ea7bfa7569f10fb0819b848f81ff663 (patch)
tree6a4c46763d0a3b9bf953166ff6089a70284ff43d /vars/buildPackage.groovy
parent26d9d6fb2ed8092d9adfb2216a58a7d9e62d385e (diff)
downloadvyos-build-3c3f35555ea7bfa7569f10fb0819b848f81ff663.tar.gz
vyos-build-3c3f35555ea7bfa7569f10fb0819b848f81ff663.zip
Jenkins: reprepro delete unreferenced packages
Diffstat (limited to 'vars/buildPackage.groovy')
-rw-r--r--vars/buildPackage.groovy1
1 files changed, 1 insertions, 0 deletions
diff --git a/vars/buildPackage.groovy b/vars/buildPackage.groovy
index de3914c2..ce85b873 100644
--- a/vars/buildPackage.groovy
+++ b/vars/buildPackage.groovy
@@ -146,6 +146,7 @@ def call(description=null, pkgList=null, buildCmd=null, buildArm=false) {
sh(script: "ssh ${SSH_OPTS} ${SSH_REMOTE} -t \"uncron-add 'reprepro -v -b ${VYOS_REPO_PATH} ${ARCH} remove ${RELEASE} ${PACKAGE}'\"")
sh(script: "ssh ${SSH_OPTS} ${SSH_REMOTE} -t \"uncron-add 'reprepro -v -b ${VYOS_REPO_PATH} ${ARCH} includedeb ${RELEASE} ${SSH_DIR}/${FILE}'\"")
}
+ sh(script: "ssh ${SSH_OPTS} ${SSH_REMOTE} -t \"uncron-add 'reprepro -v -b ${VYOS_REPO_PATH} deleteunreferenced'\"")
}
}
}