summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_archlinux.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-12-19 12:31:02 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-19 12:31:02 +0100
commitb0d2959b211baa981f6abb21122e674f46565ca6 (patch)
treec0e28f5010c3baa10d2dfb3d09d7a216a3c13586 /bin/reproducible_html_archlinux.sh
parente6ab9c407874e767fca55c684dab0e69172fd561 (diff)
downloadjenkins.debian.net-b0d2959b211baa981f6abb21122e674f46565ca6.tar.xz
reproducible archlinux+rpms: show log file size
Diffstat (limited to 'bin/reproducible_html_archlinux.sh')
-rwxr-xr-xbin/reproducible_html_archlinux.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/reproducible_html_archlinux.sh b/bin/reproducible_html_archlinux.sh
index 11f62baa..1774127b 100755
--- a/bin/reproducible_html_archlinux.sh
+++ b/bin/reproducible_html_archlinux.sh
@@ -33,6 +33,7 @@ HTML_UNKNOWN=$(mktemp -t rhtml-archlinux-XXXXXXXX)
HTML_BUFFER=$(mktemp -t rhtml-archlinux-XXXXXXXX)
HTML_TARGET=""
HTML_REPOSTATS=$(mktemp -t rhtml-archlinux-XXXXXXXX)
+SIZE=""
for REPOSITORY in $ARCHLINUX_REPOS ; do
echo "$(date -u) - starting to analyse build results for '$REPOSITORY'."
TOTAL=$(cat ${ARCHLINUX_PKGS}_$REPOSITORY | sed -s "s# #\n#g" | wc -l)
@@ -127,7 +128,8 @@ for REPOSITORY in $ARCHLINUX_REPOS ; do
echo " <td>$(LANG=C TZ=UTC ls --full-time $ARCHBASE/$REPOSITORY/$PKG/build1.log | cut -d ' ' -f6 )</td>" >> $HTML_BUFFER
for LOG in build1.log build2.log ; do
if [ -f $ARCHBASE/$REPOSITORY/$PKG/$LOG ] ; then
- echo " <td><a href=\"/archlinux/$REPOSITORY/$PKG/$LOG\">$LOG</a></td>" >> $HTML_BUFFER
+ get_filesize $ARCHBASE/$REPOSITORY/$PKG/$LOG
+ echo " <td><a href=\"/archlinux/$REPOSITORY/$PKG/$LOG\">$LOG</a> ($SIZE)</td>" >> $HTML_BUFFER
else
echo " <td>&nbsp;</td>" >> $HTML_BUFFER
fi