diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-12-10 01:49:56 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-12-10 01:49:56 +0100 |
commit | fa2c1f3ed5daff102179f709a0ad33f789b72320 (patch) | |
tree | 58140c1881aebf79d1cd80d812c8da4ac3d0db33 | |
parent | 81e9ec5b3227c90054417e2253d81856f6b8a108 (diff) | |
download | jenkins.debian.net-fa2c1f3ed5daff102179f709a0ad33f789b72320.tar.xz |
reproducible Debian: improve formatting
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-x | bin/reproducible_maintenance.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh index d6984213..74603e5e 100755 --- a/bin/reproducible_maintenance.sh +++ b/bin/reproducible_maintenance.sh @@ -408,7 +408,10 @@ 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 ; echo "$(grep -c https $TMPFILE || true) entries found." ; 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 "$(grep -c 'https://' $TMPFILE || true) entries found." + echo + cat $TMPFILE ) | mail -s "$(basename $PROBLEM) found" qa-jenkins-scm@lists.alioth.debian.org rm -f $TMPFILE fi done |