From 83b5b0b7db5c6038f5ff3ac6f5648b1ea2b5072a Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 27 Apr 2017 15:17:22 +0200 Subject: reproducible Debian: correctly link to new build logs Signed-off-by: Holger Levsen --- bin/reproducible_build_service.sh | 1 - bin/reproducible_html_live_status.py | 6 +----- bin/reproducible_worker.sh | 2 +- 3 files changed, 2 insertions(+), 7 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_build_service.sh b/bin/reproducible_build_service.sh index c1ba605e..832808e5 100755 --- a/bin/reproducible_build_service.sh +++ b/bin/reproducible_build_service.sh @@ -257,7 +257,6 @@ while true ; do done # FIXME: TODO left for _service.sh: -# * link to console.log in rbuild.log is broken # * logs should auto display in browser like with jenkins… (long-polling, meta-refresh, something) # - there's an NPH solution pointed out by Xtaran # * enabling the service in update_jdn diff --git a/bin/reproducible_html_live_status.py b/bin/reproducible_html_live_status.py index b9a26824..6e56b9de 100755 --- a/bin/reproducible_html_live_status.py +++ b/bin/reproducible_html_live_status.py @@ -155,11 +155,7 @@ def generate_live_status_table(arch): html += '' + link_package(pkg, suite, arch) + '' html += '' + str(row[4]) + '' + str(row[5]) + '' html += '' + convert_into_status_html(str(row[6])) + '' + duration + '' + avg_duration + '' - # we temporarily have two types of builders… - if arch in ('i386'): - html += '' + str(row[9]) + '' - else: - html += '' + str(row[9]) + '' + html += '' + str(row[9]) + '' html += '\n' html += '

\n' return html diff --git a/bin/reproducible_worker.sh b/bin/reproducible_worker.sh index 62006f79..a33000e6 100755 --- a/bin/reproducible_worker.sh +++ b/bin/reproducible_worker.sh @@ -52,7 +52,7 @@ while true ; do # # prepare variables for export # - export BUILD_URL=https://jenkins.debian.net/userContent/build_service/$WORKER_NAME/ + export BUILD_URL=https://jenkins.debian.net/userContent/build_service/$WORKER_NAME/$BUILD_ID export BUILD_ID=$BUILD_ID export JOB_NAME="reproducible_builder_$WORKER_NAME" export -- cgit v1.2.3-70-g09d2