diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-05-09 17:05:10 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-05-09 17:05:10 +0200 |
commit | 3dd07d39a46f898c370416e46a6fa7d55af75299 (patch) | |
tree | 0eeeaa1d5e34014da0393343139e09848b5dbd2c /hosts/jenkins | |
parent | 4d0315d978619ac761a3f9f1ae6d157ffff5a010 (diff) | |
download | jenkins.debian.net-3dd07d39a46f898c370416e46a6fa7d55af75299.tar.xz |
notify #debian-qa and #debian-reproducible on jenkins reboots
Diffstat (limited to 'hosts/jenkins')
-rwxr-xr-x | hosts/jenkins/etc/rc.local | 7 |
1 files 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 |