[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: improve html output

Holger Levsen holger at moszumanska.debian.org
Wed Sep 9 14:44:37 UTC 2015


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 0b7103dea97562b42213d9170abc762b6ebdc474
Author: Holger Levsen <holger at layer-acht.org>
Date:   Wed Sep 9 16:44:01 2015 +0200

    reproducible: improve html output
---
 bin/reproducible_common.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 4c9f0cf..477463b 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -303,7 +303,7 @@ write_explaination_table() {
 	write_page "<p style=\"clear:both;\">"
 	write_page "<table class=\"main\" id=\"variation\"><tr><th>variation</th><th>first build</th><th>second build</th></tr>"
 	if [ "$1" = "debian" ] ; then
-		write_page "<tr><td>hostname</td><td>one of: $(for i in $BUILD_NODES ; do echo $i | cut -d '.' -f1 ; done)</td><td>i-capture-the-hostname</td></tr>"
+		write_page "<tr><td>hostname</td><td>one of: $(for i in $BUILD_NODES ; do echo '<br />  ' ; echo $i | cut -d '.' -f1 ; done)</td><td>i-capture-the-hostname</td></tr>"
 		write_page "<tr><td>domainname</td><td>$(hostname -d)</td><td>i-capture-the-domainname</td></tr>"
 	else
 		write_page "<tr><td>hostname</td><td colspan=\"2\"> is not yet varied between rebuilds of $1.</td></tr>"
@@ -344,7 +344,7 @@ write_explaination_table() {
 		write_page "<tr><td>umask</td><td colspan=\"2\"> is not yet varied between rebuilds of $1.</td><tr>"
 	fi
 	if [ "$1" = "debian" ] ; then
-		write_page "<tr><td>CPU type</td><td>one of $(cat /srv/reproducible-results/node-information/* | grep CPU_MODEL | cut -d '=' -f2- | sort -u)</td><td>sometimes varied on armhf, same for amd64 builds (currently, work in progress)</td></tr>"
+		write_page "<tr><td>CPU type</td><td>one of: $(cat /srv/reproducible-results/node-information/* | grep CPU_MODEL | cut -d '=' -f2- | sort -u | tr '\n' '\0' | xargs -0 -n1 echo '<br />  ')</td><td>sometimes varied on armhf, same for amd64 builds (currently, work in progress)</td></tr>"
 	else
 		write_page "<tr><td>CPU type</td><td>$(cat /proc/cpuinfo|grep 'model name'|head -1|cut -d ":" -f2-)</td><td>same for both builds</td></tr>"
 	fi

-- 
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