From 3c3f35555ea7bfa7569f10fb0819b848f81ff663 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 8 Feb 2021 19:56:02 +0100 Subject: Jenkins: reprepro delete unreferenced packages --- vars/buildPackage.groovy | 1 + 1 file changed, 1 insertion(+) (limited to 'vars') 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'\"") } } } -- cgit v1.2.3