[Qa-jenkins-scm] [jenkins.debian.net] 01/01: notify #debian-qa and #debian-reproducible on jenkins reboots

Holger Levsen holger at layer-acht.org
Mon May 9 15:05:41 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 3dd07d39a46f898c370416e46a6fa7d55af75299
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon May 9 17:05:10 2016 +0200

    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 1c4ece1..c283854 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list