[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian maintenance: fixup 53e3f678935 and actually delete old...

Holger Levsen (@holger) gitlab at salsa.debian.org
Fri Feb 17 22:13:50 GMT 2023



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


Commits:
6479fc79 by Holger Levsen at 2023-02-17T23:13:38+01:00
reproducible Debian maintenance: fixup 53e3f678935 and actually delete old directories matching /srv/reproducible-results/rbuild-debian/r-b-build.*

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

- - - - -


1 changed file:

- bin/reproducible_maintenance.sh


Changes:

=====================================
bin/reproducible_maintenance.sh
=====================================
@@ -1,7 +1,7 @@
 #!/bin/bash
 # vim: set noexpandtab:
 
-# Copyright 2014-2022 Holger Levsen <holger at layer-acht.org>
+# Copyright 2014-2023 Holger Levsen <holger at layer-acht.org>
 #         © 2015-2021 Mattia Rizzolo <mattia at debian.org>
 # released under the GPLv2
 
@@ -51,7 +51,7 @@ OLDSTUFF=$(find $REP_RESULTS/rbuild-debian -maxdepth 1 -type d -mtime +2 -name "
 if [ ! -z "$OLDSTUFF" ] ; then
 	echo
 	echo "Old temp directories found in $REP_RESULTS/rbuild-debian"
-	find $REP_RESULTS/rbuild-debian -maxdepth 1 -type d -mtime +2 -name "tmp.*" -exec rm -rv --one-file-system {} \; || true
+	find $REP_RESULTS/rbuild-debian -maxdepth 1 -type d -mtime +2 -name "tmp.*" -o -name "r-b-build.*" -exec rm -rv --one-file-system {} \; || true
 	echo "These old directories have been deleted."
 	echo
 	DIRTY=true



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/6479fc79e55a14dce01a9cd8ddaccaf2ec1be305

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/6479fc79e55a14dce01a9cd8ddaccaf2ec1be305
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/20230217/444846b1/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list