summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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