[Git][qa/jenkins.debian.net][master] reproduce.debian.net: only replace /stats when new one is available

Holger Levsen (@holger) gitlab at salsa.debian.org
Thu Dec 12 18:25:59 GMT 2024



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


Commits:
7528b52f by Holger Levsen at 2024-12-12T19:25:45+01:00
reproduce.debian.net: only replace /stats when new one is available

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

- - - - -


2 changed files:

- hosts/infom07-i386/etc/cron.d/rebuilderd
- hosts/osuosl5-amd64/etc/cron.d/rebuilderd


Changes:

=====================================
hosts/infom07-i386/etc/cron.d/rebuilderd
=====================================
@@ -1,2 +1,2 @@
 MAILTO=root
-42 * * * * rebuilderd mkdir -p /srv/rebuilderd/stats/ && /srv/jenkins/bin/rebuilder_stats.py i386 /home/rebuilderd/rebuilderd.db > /srv/rebuilderd/stats/index.html
+42 * * * * rebuilderd mkdir -p /srv/rebuilderd/stats/ && /srv/jenkins/bin/rebuilder_stats.py i386 /home/rebuilderd/rebuilderd.db > /srv/rebuilderd/stats/index.html.tmp && mv /srv/rebuilderd/stats/index.html.tmp /srv/rebuilderd/stats/index.html


=====================================
hosts/osuosl5-amd64/etc/cron.d/rebuilderd
=====================================
@@ -1,2 +1,2 @@
 MAILTO=root
-42 * * * * rebuilderd mkdir -p /srv/rebuilderd/stats/ && /srv/jenkins/bin/rebuilder_stats.py amd64 /srv/rebuilderd/rebuilderd.db > /srv/rebuilderd/stats/index.html
+42 * * * * rebuilderd mkdir -p /srv/rebuilderd/stats/ && /srv/jenkins/bin/rebuilder_stats.py amd64 /srv/rebuilderd/rebuilderd.db > /srv/rebuilderd/stats/index.html.tmp && mv /srv/rebuilderd/stats/index.html.tmp /srv/rebuilderd/stats/index.html



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/7528b52f77cbb131e802c662c363ed1f99ad076d
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/20241212/0c9a0729/attachment.htm>


More information about the Qa-jenkins-scm mailing list