[Qa-jenkins-scm] [jenkins.debian.net] 01/01: fixup 156740c5: reproducible Arch Linux: add totals column to stats page
Holger Levsen
holger at layer-acht.org
Fri Nov 24 15:42:07 UTC 2017
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 03abea348f0501d11d7fae7dc249b0b7ff6a9814
Author: Holger Levsen <holger at layer-acht.org>
Date: Fri Nov 24 15:42:05 2017 +0000
fixup 156740c5: reproducible Arch Linux: add totals column to stats page
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/reproducible_html_archlinux.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/reproducible_html_archlinux.sh b/bin/reproducible_html_archlinux.sh
index 43cde07..561a2cf 100755
--- a/bin/reproducible_html_archlinux.sh
+++ b/bin/reproducible_html_archlinux.sh
@@ -187,7 +187,7 @@ for REPOSITORY in $ARCHLINUX_REPOS ; do
done
echo " </tr>" >> $HTML_REPOSTATS
# prepare ARCHLINUX totals
- let ARCHLINUX_TOTAL+=$(cat ${ARCHLINUX_PKGS}_$REPOSITORY | sed -s "s# #\n#g" | wc -l) || true
+ let ARCHLINUX_TOTAL+=$TOTAL || true
let ARCHLINUX_TESTED+=$TESTED || true
let ARCHLINUX_NR_FTBFS+=$NR_FTBFS || true
let ARCHLINUX_NR_FTBR+=$NR_FTBR || true
@@ -204,7 +204,7 @@ else
NR_TESTED=$ARCHLINUX_TESTED
fi
echo " <tr>" >> $HTML_REPOSTATS
-echo " <td><i>totals</i></td><td>$ARCHLINUX_NR_TESTED</td>" >> $HTML_REPOSTATS
+echo " <td><i>totals</i></td><td>$NR_TESTED</td>" >> $HTML_REPOSTATS
for i in $ARCHLINUX_NR_GOOD $ARCHLINUX_NR_FTBR $ARCHLINUX_NR_FTBFS $ARCHLINUX_NR_DEPWAIT $ARCHLINUX_NR_404 $ARCHLINUX_NR_UNKNOWN ; do
PERCENT_i=$(echo "scale=1 ; ($i*100/$ARCHLINUX_TESTED)" | bc)
if [ "$ARCHLINUX_PERCENT_i" != "0" ] ; then
--
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