summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/email2irc.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/email2irc.sh b/bin/email2irc.sh
index 40287bde..35ba86f8 100755
--- a/bin/email2irc.sh
+++ b/bin/email2irc.sh
@@ -114,11 +114,11 @@ if [ "$VALID_MAIL" = "true" ] ; then
if [ ! -z $CHANNEL ] ; then
# format message
MESSAGE="$(echo $SUBJECT | cut -d ':' -f1) $MY_LINE"
- MESSAGE="$(echo $MESSAGE | sed -s 's#Changes:##') "
- MESSAGE="$(echo $MESSAGE | sed -s 's#/console$##') "
- MESSAGE="$(echo $MESSAGE | sed -s 's# See ##') "
MESSAGE="$(echo $MESSAGE | sed -s 's#^Failure#Failed #') "
MESSAGE="$(echo $MESSAGE | sed -s 's#^Build failed in Jenkins#Failed #') "
+ MESSAGE="$(echo $MESSAGE | sed -s 's# See ##') "
+ MESSAGE="$(echo $MESSAGE | sed -s 's#Changes:##') "
+ MESSAGE="$(echo $MESSAGE | sed -s 's#/console$##') "
# log message
echo "Notified #$CHANNEL with $MESSAGE" >> $LOGFILE
# notify kgb