From 3dd07d39a46f898c370416e46a6fa7d55af75299 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 9 May 2016 17:05:10 +0200 Subject: notify #debian-qa and #debian-reproducible on jenkins reboots --- hosts/jenkins/etc/rc.local | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hosts/jenkins/etc/rc.local b/hosts/jenkins/etc/rc.local index 1c4ece10..c2838549 100755 --- a/hosts/jenkins/etc/rc.local +++ b/hosts/jenkins/etc/rc.local @@ -11,6 +11,9 @@ # # By default this script does nothing. -echo "$(date -u) - system was rebooted" | mail -s "$(hostname -f) rebooted" root - +MESSAGE="$(hostname -f) rebooted" +echo "$(date -u) - system was rebooted" | mail -s "$MESSAGE" root +for channel in debian-qa debian-reproducible ; do + kgb-client --conf /srv/jenkins/kgb/$channel.conf --relay-msg "$MESSAGE" +done exit 0 -- cgit v1.2.3-70-g09d2