[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian: prevent failures if artifacts cannot be deleted

Holger Levsen gitlab at salsa.debian.org
Sat Sep 15 19:22:06 BST 2018


Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
45238c46 by Holger Levsen at 2018-09-15T18:21:46Z
reproducible Debian: prevent failures if artifacts cannot be deleted

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/reproducible_maintenance.sh


Changes:

=====================================
bin/reproducible_maintenance.sh
=====================================
@@ -493,7 +493,7 @@ ARTIFACTS=$(find $DEBIAN_BASE/artifacts/r00t-me/* -maxdepth 1 -type d -mtime +1
 if [ ! -z "$ARTIFACTS" ] ; then
 	echo
 	echo "Removed old artifacts:"
-	find $DEBIAN_BASE/artifacts/r00t-me/* -maxdepth 1 -type d -mtime +1 -exec rm -rv {} \;
+	find $DEBIAN_BASE/artifacts/r00t-me/* -maxdepth 1 -type d -mtime +1 -exec rm -rv {} \; || true
 	echo
 fi
 



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/45238c46229cbb56e88a9bc8168fb065034ebc72

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/45238c46229cbb56e88a9bc8168fb065034ebc72
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20180915/927f28af/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list