[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible debian: html_dashboard: warn when the builders are being shut down,…
Mattia Rizzolo
gitlab at salsa.debian.org
Tue May 29 21:11:19 BST 2018
Mattia Rizzolo pushed to branch master at Debian QA / jenkins.debian.net
Commits:
57333ab3 by Mattia Rizzolo at 2018-05-29T22:10:49+02:00
reproducible debian: html_dashboard: warn when the builders are being shut down, so people are not surprised by the numebr of running builds
Signed-off-by: Mattia Rizzolo <mattia at debian.org>
- - - - -
1 changed file:
- bin/reproducible_html_dashboard.sh
Changes:
=====================================
bin/reproducible_html_dashboard.sh
=====================================
--- a/bin/reproducible_html_dashboard.sh
+++ b/bin/reproducible_html_dashboard.sh
@@ -325,6 +325,10 @@ _average_builds_per_day() {
}
write_build_performance_stats() {
local ARCH
+ local lockfile="/var/lib/jenkins/NO-RB-BUILDERS-PLEASE"
+ if [ -f "$lockfile" ]; then
+ write_page "<p><strong>Warning</strong>: lock file <code>$lockfile</code> present, the builders are shutting down due to administrator request.</p>"
+ fi
write_page "<table class=\"main\"><tr><th>Architecture build statistics</th>"
for ARCH in ${ARCHS} ; do
write_page " <th>$ARCH</th>"
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/57333ab35835572c1431e12d213080da4615e796
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/57333ab35835572c1431e12d213080da4615e796
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/20180529/593decfb/attachment.html>
More information about the Qa-jenkins-scm
mailing list