summaryrefslogtreecommitdiffstats
path: root/bin/email2irc.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-11-29 15:40:31 +0100
committerHolger Levsen <holger@layer-acht.org>2012-11-29 15:40:31 +0100
commit10eae851adaa49fc14c01d950792d2041bff90f2 (patch)
treec5e2ea9d45cdd3e05dba226a5cbb5befe49e2a74 /bin/email2irc.sh
parentee023fc9e9ba44a791b9f44b4d1425eda5a67532 (diff)
downloadjenkins.debian.net-10eae851adaa49fc14c01d950792d2041bff90f2.tar.xz
add jobname to irc message
Diffstat (limited to 'bin/email2irc.sh')
-rwxr-xr-xbin/email2irc.sh2
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