[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] 2 commits: reproducible maintenance: output mail on stdout if it's too big to send
Holger Levsen (@holger)
gitlab at salsa.debian.org
Sat Jun 17 01:27:03 BST 2023
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
8c8b290d by Holger Levsen at 2023-06-17T02:23:00+02:00
reproducible maintenance: output mail on stdout if it's too big to send
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
37d6be09 by Holger Levsen at 2023-06-17T02:26:40+02:00
reproducible maintenance: improve output when sending daily emails
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_maintenance.sh
Changes:
=====================================
bin/reproducible_maintenance.sh
=====================================
@@ -810,6 +810,7 @@ fi
# daily mails
if [ "$HOSTNAME" = "$MAINNODE" ] && [ $(date -u +%H) -eq 0 ] ; then
+ echo "$(date -u) - sending daily emails about problems found in logfiles:"
# once a day, send mail about builder problems
files_to_mail=(
/var/log/jenkins/reproducible-builder-errors.log
@@ -831,7 +832,7 @@ if [ "$HOSTNAME" = "$MAINNODE" ] && [ $(date -u +%H) -eq 0 ] ; then
echo "diskspace issues should always be investigated." > $TMPFILE
fi
if grep -q https $PROBLEM ; then
- echo "$(grep -c https $PROBLEM) entries found:"
+ echo "$(grep -c https $PROBLEM) entries found in $PROBLEM:"
if [ "$(basename $PROBLEM)" != "reproducible-remote-error.log" ] && [ "$(basename $PROBLEM)" != "reproducible-race-conditions.log" ] ; then
OTHERPROJECTS=""
else
@@ -861,7 +862,7 @@ if [ "$HOSTNAME" = "$MAINNODE" ] && [ $(date -u +%H) -eq 0 ] ; then
if [ "$(basename $PROBLEM)" = "reproducible-submit2buildinfo.debian.net.log" ]; then
CC="-c lamby at debian.org"
fi
- cat $TMPFILE | mail -s "$(basename $PROBLEM) found" ${CC:-} qa-jenkins-scm at lists.alioth.debian.org
+ cat $TMPFILE | mail -s "$(basename $PROBLEM) found" ${CC:-} qa-jenkins-scm at lists.alioth.debian.org || cat $TMPFILE
CC=""
fi
rm -f $TMPFILE
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/1965a2beb8d1ab3f14c68a8b101ed45f8d57f49a...37d6be099e295c44e15896b62a9b3eba5df8974c
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/1965a2beb8d1ab3f14c68a8b101ed45f8d57f49a...37d6be099e295c44e15896b62a9b3eba5df8974c
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20230617/06c9904a/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list