diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-09-09 16:44:01 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-09-09 16:44:01 +0200 |
commit | 0b7103dea97562b42213d9170abc762b6ebdc474 (patch) | |
tree | d5d21cf99b41e5640c78a8038a34d85fdcdf162d | |
parent | f1ed54f729f71d69b1ff4f3e6745e018ecf2f6ec (diff) | |
download | jenkins.debian.net-0b7103dea97562b42213d9170abc762b6ebdc474.tar.xz |
reproducible: improve html output
-rwxr-xr-x | bin/reproducible_common.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index 4c9f0cfc..477463b1 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 |