[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian live: artifacts are files...

Holger Levsen (@holger) gitlab at salsa.debian.org
Fri Sep 16 23:36:05 BST 2022



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


Commits:
1a6f83b0 by Holger Levsen at 2022-09-17T00:35:53+02:00
reproducible Debian live: artifacts are files...

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

- - - - -


1 changed file:

- bin/reproducible_maintenance.sh


Changes:

=====================================
bin/reproducible_maintenance.sh
=====================================
@@ -740,11 +740,11 @@ fi
 
 # remove artifacts from the debian live build jobs, older than a day
 echo "$(date -u) - Checking for artifacts from debian live build jobs, that are older than a day."
-ARTIFACTS=$(find $BASE/debian_live_build/artifacts/r00t-me/* -maxdepth 1 -type d -mtime +1 -exec ls -lad {} \; 2>/dev/null|| true)
+ARTIFACTS=$(find $BASE/debian_live_build/artifacts/r00t-me/* -maxdepth 1 -type f -mtime +1 -exec ls -lad {} \; 2>/dev/null|| true)
 if [ ! -z "$ARTIFACTS" ] ; then
 	echo
 	echo "Removed old artifacts:"
-	find $BASE/debian_live_build/artifacts/r00t-me/* -maxdepth 1 -type d -mtime +1 -exec rm -rv --one-file-system {} \; || true
+	find $BASE/debian_live_build/artifacts/r00t-me/* -maxdepth 1 -type f -mtime +1 -exec rm -rv --one-file-system {} \; || true
 	echo
 fi
 



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/1a6f83b041492d21811c29613c0e236e439090cc
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/20220916/39d42538/attachment.htm>


More information about the Qa-jenkins-scm mailing list