diff options
author | Holger Levsen <holger@layer-acht.org> | 2017-04-28 17:35:26 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2017-04-28 17:35:26 +0200 |
commit | 7a5b1ac385b862437e706ed62a844717073eeee6 (patch) | |
tree | a74ccfd77a103e4886ffc8a219876b96d37a279b /bin/reproducible_html_live_status.py | |
parent | 34aade9120434741cf56cea156a91ff781ffe903 (diff) | |
download | jenkins.debian.net-7a5b1ac385b862437e706ed62a844717073eeee6.tar.xz |
reproducible Debian: stop comparing actual+configured builders, dashboard does that already
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/reproducible_html_live_status.py')
-rwxr-xr-x | bin/reproducible_html_live_status.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/bin/reproducible_html_live_status.py b/bin/reproducible_html_live_status.py index 08fb5a15..ac91e767 100755 --- a/bin/reproducible_html_live_status.py +++ b/bin/reproducible_html_live_status.py @@ -137,14 +137,8 @@ def generate_live_status_table(arch): html += '<th class=\"center\">previous build duration</th><th class=\"center\">average build duration</th><th class=\"center\">builder job</th>' html += '</tr>\n' counter = 0 - # the path should probably not be hard coded here… - builders = len(glob.glob('/var/lib/jenkins/jobs/reproducible_builder_' + arch + '_*')) for row in rows: counter += 1 - if counter > builders: - html += '<tr><td colspan="10">There are more builds marked as currently building in the database (' + str(counter) + ') than there are ' + arch + ' build jobs (' + str(builders) + '). This does not compute, please investigate and fix the cause.</td></tr>' - elif builders == 0: - html += '<tr><td colspan="10">0 build jobs for ' + arch + ' detected. This does not compute, please investigate and fix the cause.</td></tr>' suite = row[1] arch = row[2] pkg = row[3] |