summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_stats.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-09-28 10:15:04 +0200
committerHolger Levsen <holger@layer-acht.org>2014-09-28 10:15:04 +0200
commitc0cdd8002972834628a3e08668aa7699b0a6876a (patch)
tree62c4b90ae2dfe7d646a23001c19acb60e6075e37 /bin/reproducible_stats.sh
parent32bc98580ef1e34d81497bdc936794cb2598b06b (diff)
downloadjenkins.debian.net-c0cdd8002972834628a3e08668aa7699b0a6876a.tar.xz
reproducible: create link too
Diffstat (limited to 'bin/reproducible_stats.sh')
-rwxr-xr-xbin/reproducible_stats.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/bin/reproducible_stats.sh b/bin/reproducible_stats.sh
index aed99e8b..fe8fb81c 100755
--- a/bin/reproducible_stats.sh
+++ b/bin/reproducible_stats.sh
@@ -26,23 +26,22 @@ htmlecho() {
rm index.html
htmlecho "<html><body>" > index.html
-htmlecho
htmlecho "<h2>Simple statistics for reproducible builds as tested on jenkins.debian.net so far</h2>"
-htmlecho
htmlecho "<p>$COUNT_TOTAL packages attempted to build in total.</p>"
-htmlecho
htmlecho "<p>$COUNT_GOOD packages successfully built reproducibly: <code>${GOOD}</code></p>"
-htmlecho
htmlecho "$COUNT_BAD packages failed to built reproducibly: <code>"
for PKG in $BAD ; do
VERSION=$(sqlite3 $PACKAGES_DB "SELECT version FROM source_packages WHERE name = \"$PKG\"")
- htmlecho "<a href=$JENKINS_URL/userContent/diffp/${PKG}_${VERSION}.diffp>$PKG </a> "
+ htmlecho "<a href=\"$JENKINS_URL/userContent/diffp/${PKG}_${VERSION}.diffp\">$PKG </a> "
done
htmlecho "</code></p>"
htmlecho
htmlecho "$COUNT_UGLY packages failed to build from source: <code>${UGLY}</code></p>"
htmlecho "$COUNT_SOURCELESS packages doesn't exist in sid and need investigation: <code>$SOURCELESS<code></p>"
+htmlecho "<font size='-1'><a href=\"$JENKINS_URL/userContent/diffp.html\">Static URL for this page.</a></font>"
+eht
htmlecho "</ul></p></body></html>"
# job output
html2text index.html
+cp index.html /var/lib/jenkins/userContent/diffp.html