[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian: remove old node entries which are older than two weeks (Closes: #907497)

Holger Levsen gitlab at salsa.debian.org
Wed Aug 29 13:59:25 BST 2018


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


Commits:
2635dc7a by Holger Levsen at 2018-08-29T12:59:15Z
reproducible Debian: remove old node entries which are older than two weeks (Closes: #907497)

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

- - - - -


1 changed file:

- bin/reproducible_html_nodes_info.sh


Changes:

=====================================
bin/reproducible_html_nodes_info.sh
=====================================
@@ -18,6 +18,8 @@ TARGET_DIR=/srv/reproducible-results/node-information/
 mkdir -p $TARGET_DIR
 TMPFILE_SRC=$(mktemp)
 TMPFILE_NODE=$(mktemp)
+# remove old node entries which are older than two weeks
+find $TARGET_DIR/ -type f -mtime +14 -exec rm -v {} \;
 
 #
 # build static webpages



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/2635dc7ad1914a5d01725795e039478f4b261c0e

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/2635dc7ad1914a5d01725795e039478f4b261c0e
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/20180829/94bd341d/attachment.html>


More information about the Qa-jenkins-scm mailing list