[Qa-jenkins-scm] [jenkins.debian.net] 02/02: reproducible Debian: provide links to systemd build_services logs
Holger Levsen
holger at layer-acht.org
Wed Apr 19 11:30:47 UTC 2017
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 d4ff1e42021c0a708bef507c98f0fdb5cb0a2fd2
Author: Holger Levsen <holger at layer-acht.org>
Date: Wed Apr 19 13:30:38 2017 +0200
reproducible Debian: provide links to systemd build_services logs
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/reproducible_html_live_status.py | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/bin/reproducible_html_live_status.py b/bin/reproducible_html_live_status.py
index 5681fe4..b9a2682 100755
--- a/bin/reproducible_html_live_status.py
+++ b/bin/reproducible_html_live_status.py
@@ -1,7 +1,7 @@
#!/usr/bin/python3
# -*- coding: utf-8 -*-
#
-# Copyright © 2015-2016 Holger Levsen <holger at layer-acht.org>
+# Copyright © 2015-2017 Holger Levsen <holger at layer-acht.org>
# based on ~jenkins.d.n:~mattia/status.sh by Mattia Rizzolo <mattia at mapreri.org>
# Licensed under GPL-2
#
@@ -155,7 +155,11 @@ def generate_live_status_table(arch):
html += '<td><code>' + link_package(pkg, suite, arch) + '</code></td>'
html += '<td>' + str(row[4]) + '</td><td>' + str(row[5]) + '</td>'
html += '<td>' + convert_into_status_html(str(row[6])) + '</td><td>' + duration + '</td><td>' + avg_duration + '</td>'
- html += '<td><a href="https://jenkins.debian.net/job/reproducible_builder_' + str(row[9]) + '/console">' + str(row[9]) + '</a></td>'
+ # we temporarily have two types of builders…
+ if arch in ('i386'):
+ html += '<td><a href="https://jenkins.debian.net/userContent/reproducible/debian/build_service/' + str(row[9]) + '/console">' + str(row[9]) + '</a></td>'
+ else:
+ html += '<td><a href="https://jenkins.debian.net/job/reproducible_builder_' + str(row[9]) + '/console">' + str(row[9]) + '</a></td>'
html += '</tr>\n'
html += '</table></p>\n'
return html
--
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