[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible: turn irc notifications about nodes going offline into emails
Holger Levsen
gitlab at salsa.debian.org
Sun Jun 14 18:14:17 BST 2020
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
a4aec7ef by Holger Levsen at 2020-06-14T19:13:54+02:00
reproducible: turn irc notifications about nodes going offline into emails
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_maintenance.sh
Changes:
=====================================
bin/reproducible_maintenance.sh
=====================================
@@ -239,7 +239,15 @@ if [ "$HOSTNAME" = "$MAINNODE" ] ; then
else
MESSAGE="$SICK has health problems and has temporarily been marked as offline."
fi
- irc_message reproducible-builds "$MESSAGE To make this permanent, edit jenkins-home/offline_nodes in git."
+ MESSAGE="$MESSAGE To make this permanent, edit jenkins-home/offline_nodes in git."
+ RECIPIENTS="mattia at debian.org holger at debian.org"
+ if $(echo -e "$MESSAGE" | grep -q arm64 2>/dev/null) ; then
+ RECIPIENTS="$RECIPIENTS vagrant at reproducible-builds.org"
+ fi
+ for TO in $RECIPIENTS ; do
+ echo -e "$MESSAGE" | mail -s "jenkins nodes temporarily been marked as offline" $TO
+ done
+
fi
rm -f $DUMMY_FILE
fi
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/a4aec7ef9644d566dcfbbd9024da4705cb32cbc2
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/a4aec7ef9644d566dcfbbd9024da4705cb32cbc2
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/20200614/33c7b4f7/attachment-0001.html>
More information about the Qa-jenkins-scm
mailing list