[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: live status needs to know the number of builders
Holger Levsen
holger at moszumanska.debian.org
Thu Oct 8 11:18:09 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit bd56fb560d10fc5cc7756d050120f169f3f4d872
Author: Holger Levsen <holger at layer-acht.org>
Date: Thu Oct 8 13:17:18 2015 +0200
reproducible: live status needs to know the number of builders
---
bin/reproducible_html_live_status.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/reproducible_html_live_status.py b/bin/reproducible_html_live_status.py
index e1a3d8c..685fb97 100755
--- a/bin/reproducible_html_live_status.py
+++ b/bin/reproducible_html_live_status.py
@@ -82,8 +82,8 @@ def generate_live_status_table(arch):
counter = 0
for row in rows:
counter += 1
- # the numbers 17 and 9 should really be derived from /var/lib/jenkins/jobs/reproducible_builder_${arch}_* instead of being hard-coded here...
- if ( arch == 'amd64' and counter == 17 ) or ( arch == 'armhf' and counter == 9 ):
+ # the numbers 33 and 9 should really be derived from /var/lib/jenkins/jobs/reproducible_builder_${arch}_* instead of being hard-coded here...
+ if ( arch == 'amd64' and counter == 33 ) or ( arch == 'armhf' and counter == 9 ):
html += '<tr><td colspan="10">There are more builds marked as currently building in the database than there are ' + arch + ' build jobs. This does not compute, please investigate and fix the cause.</td></tr>'
suite = row[1]
arch = row[2]
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list