[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible maintenance: send warning mail if mail containing issues cannot be send

Holger Levsen (@holger) gitlab at salsa.debian.org
Sat Jun 17 14:28:10 BST 2023



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
dfbc48af by Holger Levsen at 2023-06-17T15:27:53+02:00
reproducible maintenance: send warning mail if mail containing issues cannot be send

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/reproducible_maintenance.sh


Changes:

=====================================
bin/reproducible_maintenance.sh
=====================================
@@ -863,7 +863,8 @@ if [ "$HOSTNAME" = "$MAINNODE" ] && [ $(date -u +%H) -eq 0 ]  ; then
 					CC="-c lamby at debian.org"
 				fi
 				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 )
+					( echo "Warning: could not send mail about $(basename $PROBLEM)." ; cat $TMPFILE ; \
+						echo "Warning: could not send mail about $(basename $PROBLEM)." | mail -s "$(basename $PROBLEM) mail could not be send" ${CC:-} qa-jenkins-scm at lists.alioth.debian.org )
 				CC=""
 			fi
 			rm -f $TMPFILE



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/dfbc48afb606d6964b7c6ef18ef232877e6bff95

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/dfbc48afb606d6964b7c6ef18ef232877e6bff95
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/60fe856f/attachment.htm>


More information about the Qa-jenkins-scm mailing list