[Qa-jenkins-scm] [jenkins.debian.net] 02/02: YOLO: make irc notification grepable in logfile
Holger Levsen
holger at layer-acht.org
Wed Nov 23 14:11:50 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 1d564ea83be26c8d761b0237ff67ff2226bce03b
Author: Holger Levsen <holger at layer-acht.org>
Date: Wed Nov 23 15:11:44 2016 +0100
YOLO: make irc notification grepable in logfile
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/email2irc.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/email2irc.sh b/bin/email2irc.sh
index 0eaebb9..a2bb871 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
--
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