summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/email2irc.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/email2irc.sh b/bin/email2irc.sh
index 20dc8f50..38709676 100755
--- a/bin/email2irc.sh
+++ b/bin/email2irc.sh
@@ -113,7 +113,9 @@ if [ "$VALID_MAIL" = "true" ] ; then
# only notify if there is a channel to notify
if [ ! -z $CHANNEL ] ; then
# format message
- MESSAGE="$(echo $SUBJECT | cut -d ':' -f1) $(echo $MY_LINE|sed -s 's#Changes:##g') "
+ MESSAGE="$(echo $SUBJECT | cut -d ':' -f1) $MY_LINE"
+ MESSAGE="$(echo $MESSAGE | sed -s 's#Changes:##g') "
+ MESSAGE="$(echo $MESSAGE | sed -s 's#/console$##g') "
MESSAGE="$(echo $MESSAGE | sed -s 's# See ##g') "
MESSAGE="$(echo $MESSAGE | sed -s 's# in Jenkins ##g') "
MESSAGE="$(echo $MESSAGE | sed -s 's#Failure #Failed #g') "