summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_packages.py
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-10-15 10:43:44 +0000
committerHolger Levsen <holger@layer-acht.org>2015-12-09 11:28:32 +0100
commita3722c8457f22264c8d2850925addffb01e40e94 (patch)
tree627c4b477fd238d2315710b9485a6e73be611105 /bin/reproducible_html_packages.py
parent058954f967672a719c930a783af3b23d97d632e2 (diff)
downloadjenkins.debian.net-a3722c8457f22264c8d2850925addffb01e40e94.tar.xz
reproducible: store in the db also the actual build host in stats_build, and rename the current "builder" field to "job", since it contains the jenkins job name and nummber
Diffstat (limited to 'bin/reproducible_html_packages.py')
-rwxr-xr-xbin/reproducible_html_packages.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py
index a178330a..ee35072c 100755
--- a/bin/reproducible_html_packages.py
+++ b/bin/reproducible_html_packages.py
@@ -211,7 +211,7 @@ def gen_suites_links(package, current_suite, current_arch):
def gen_history_page(package):
keys = ('build date', 'version', 'suite', 'architecture', 'result',
- 'build duration', 'builder')
+ 'build duration', 'node1', 'node2', 'job')
try:
head = package.history[0]
except IndexError:
@@ -222,7 +222,7 @@ def gen_history_page(package):
html += '<th>{}</th>'.format(i)
html += '\n{tab}</tr>'.format(tab=tab)
for record in package.history:
- # huma formatting of build duration
+ # human formatting of build duration
record['build duration'] = convert_into_hms_string(
int(record['build duration']))
html += '\n{tab}<tr>\n{tab}{tab}'.format(tab=tab)