Unverified Commit 57333ab3 authored by Mattia Rizzolo's avatar Mattia Rizzolo
Browse files

reproducible debian: html_dashboard: warn when the builders are being shut...


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's avatarMattia Rizzolo <mattia@debian.org>
parent a2f3e93b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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>"