From 10eae851adaa49fc14c01d950792d2041bff90f2 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 29 Nov 2012 15:40:31 +0100 Subject: add jobname to irc message --- bin/email2irc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/email2irc.sh b/bin/email2irc.sh index 706b695e..7ea47ce1 100755 --- a/bin/email2irc.sh +++ b/bin/email2irc.sh @@ -49,7 +49,7 @@ if [ "$VALID_MAIL" == "true" ] ; then if [ ! -z $CHANNEL ] ; then echo "#$CHANNEL: $SUBJECT. $FIRST_LINE" >> $LOGFILE #MESSAGE=$(echo "$SUBJECT. $FIRST_LINE" | colorit -c /etc/colorit.conf ) - MESSAGE="$SUBJECT. $FIRST_LINE" + MESSAGE="$JENKINS_JOB: $SUBJECT. $FIRST_LINE" kgb-client --conf /srv/jenkins/kgb/$CHANNEL.conf --relay-msg "$MESSAGE" && echo "kgb informed successfully." >> $LOGFILE echo >> $LOGFILE else -- cgit v1.2.3-70-g09d2