summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-12-10 00:08:41 +0100
committerHolger Levsen <holger@layer-acht.org>2016-12-10 00:08:41 +0100
commit6fec93aae2d2f801812c5d634fcb5f2886029166 (patch)
tree7c68c6cfcfb3901e2be16cb3caa058b6ac268aff /bin
parent7d3d1c16a024b84c3ada760a35a0bfc8c0e24bb4 (diff)
downloadjenkins.debian.net-6fec93aae2d2f801812c5d634fcb5f2886029166.tar.xz
reproducible Debian: count lines, to indicate size of the problem
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_maintenance.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index 115e79de..f2001256 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -408,7 +408,7 @@ if [ "$HOSTNAME" = "$MAINNODE" ] && [ $(date -u +%H) -eq 0 ] ; then
if [ -s $PROBLEM ] ; then
TMPFILE=$(mktemp --tmpdir=$TEMPDIR maintenance-XXXXXXXXXXXX)
mv $PROBLEM $TMPFILE
- ( echo "A few entries per day are normal, a few dozens or hundreds probably not." ; echo ; cat $TMPFILE ) | mail -s "$(basename $PROBLEM) found" qa-jenkins-scm@lists.alioth.debian.org
+ ( echo "A few entries per day are normal, a few dozens or hundreds probably not." ; echo ; echo "$(cat $TMPFILE | wc -l) lines." ; cat $TMPFILE ) | mail -s "$(basename $PROBLEM) found" qa-jenkins-scm@lists.alioth.debian.org
rm -f $TMPFILE
fi
done