summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-11-23 15:11:44 +0100
committerHolger Levsen <holger@layer-acht.org>2016-11-23 15:11:44 +0100
commit1d564ea83be26c8d761b0237ff67ff2226bce03b (patch)
tree398f88eeabe89d17d654a56d97aed71ab4160759 /bin
parent699735364f358cf85181ccc31573e184dcfaf75c (diff)
downloadjenkins.debian.net-1d564ea83be26c8d761b0237ff67ff2226bce03b.tar.xz
YOLO: make irc notification grepable in logfile
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/email2irc.sh2
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