[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible maintenance: turn failure to send email into a proper warning
Holger Levsen (@holger)
gitlab at salsa.debian.org
Sat Jun 17 01:33:18 BST 2023
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
2c553e23 by Holger Levsen at 2023-06-17T02:32:57+02:00
reproducible maintenance: turn failure to send email into a proper warning
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
2 changed files:
- bin/reproducible_maintenance.sh
- logparse/reproducible.rules
Changes:
=====================================
bin/reproducible_maintenance.sh
=====================================
@@ -862,7 +862,8 @@ 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
+ cat $TMPFILE | mail -s "$(basename $PROBLEM) found" ${CC:-} qa-jenkins-scm at lists.alioth.debian.org || \
+ ( echo "Warning: could not send mail about $(basename $PROBLEM)." ; cat $TMPFILE )
CC=""
fi
rm -f $TMPFILE
=====================================
logparse/reproducible.rules
=====================================
@@ -39,6 +39,7 @@ warning /Warning: Problems analysing/
warning /Warning: .+ .xiting cleanly as this is out-of-scope./
warning /Warning: Cannot determine diffoscope version in Debian, aborting./
warning /Warning: there are packages to be upgraded on this system./
+warning /Warning: could not send mail about/
# If an artifact is created, show it as info
info /- enjoy https:/
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/2c553e233d761e9aee5286524568057b0d65992c
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/2c553e233d761e9aee5286524568057b0d65992c
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/09d549e7/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list