summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_live_status.py
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-09-12 18:12:12 +0200
committerHolger Levsen <holger@layer-acht.org>2015-09-12 18:12:12 +0200
commit7a838542de6e9b180b23c4ad90b77c92099a6633 (patch)
tree36049d5a256a8be6d1d966e90bb2600b3e02427b /bin/reproducible_html_live_status.py
parent791a26c3cff26c77d5369262a839ab918af05e73 (diff)
downloadjenkins.debian.net-7a838542de6e9b180b23c4ad90b77c92099a6633.tar.xz
reproducible: noone expected this was a bad idea
Diffstat (limited to 'bin/reproducible_html_live_status.py')
-rwxr-xr-xbin/reproducible_html_live_status.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_html_live_status.py b/bin/reproducible_html_live_status.py
index efb3c13f..e3faa5b9 100755
--- a/bin/reproducible_html_live_status.py
+++ b/bin/reproducible_html_live_status.py
@@ -74,8 +74,8 @@ def generate_live_status_table(arch):
counter = 0
for row in rows:
counter += 1
- # the numbers 16 and 7 should really be derived from /var/lib/jenkins/jobs/reproducible_builder_${arch}_* instead of being hard-coded here...
- if ( arch == 'amd64' and counter == 16 ) or ( arch == 'armhf' and counter == 7 ):
+ # the numbers 13 and 7 should really be derived from /var/lib/jenkins/jobs/reproducible_builder_${arch}_* instead of being hard-coded here...
+ if ( arch == 'amd64' and counter == 13 ) or ( arch == 'armhf' and counter == 7 ):
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 cleanup and please automate cleanup.</td></tr>'
suite = row[1]
arch = row[2]