From bd56fb560d10fc5cc7756d050120f169f3f4d872 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 8 Oct 2015 13:17:18 +0200 Subject: 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 e1a3d8c2..685fb97b 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 += '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.' suite = row[1] arch = row[2] -- cgit v1.2.3-70-g09d2