diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-11-23 15:11:44 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-11-23 15:11:44 +0100 |
commit | 1d564ea83be26c8d761b0237ff67ff2226bce03b (patch) | |
tree | 398f88eeabe89d17d654a56d97aed71ab4160759 | |
parent | 699735364f358cf85181ccc31573e184dcfaf75c (diff) | |
download | jenkins.debian.net-1d564ea83be26c8d761b0237ff67ff2226bce03b.tar.xz |
YOLO: make irc notification grepable in logfile
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-x | bin/email2irc.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/email2irc.sh b/bin/email2irc.sh index 0eaebb96..a2bb8716 100755 --- a/bin/email2irc.sh +++ b/bin/email2irc.sh @@ -114,7 +114,7 @@ if [ "$VALID_MAIL" = "true" ] ; then if [ ! -z $CHANNEL ] ; then # log message MESSAGE="$(echo $SUBJECT | cut -d ':' -f1) $(echo $MY_LINE|sed -s 's#Changes:##g') " - echo "#$CHANNEL: $MESSAGE" >> $LOGFILE + echo "Notified #$CHANNEL with $MESSAGE" >> $LOGFILE # notify kgb kgb-client --conf /srv/jenkins/kgb/$CHANNEL.conf --relay-msg "$MESSAGE" && echo "kgb informed successfully." >> $LOGFILE echo >> $LOGFILE |