diff options
author | Holger Levsen <holger@layer-acht.org> | 2012-11-29 15:40:31 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2012-11-29 15:40:31 +0100 |
commit | 10eae851adaa49fc14c01d950792d2041bff90f2 (patch) | |
tree | c5e2ea9d45cdd3e05dba226a5cbb5befe49e2a74 | |
parent | ee023fc9e9ba44a791b9f44b4d1425eda5a67532 (diff) | |
download | jenkins.debian.net-10eae851adaa49fc14c01d950792d2041bff90f2.tar.xz |
add jobname to irc message
-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 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 |