[Qa-jenkins-scm] [jenkins.debian.net] 01/01: YOLO: sort logically
Holger Levsen
holger at layer-acht.org
Wed Nov 23 14:46:29 UTC 2016
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 51aa536891730bcec69df38707b2f4cac65d420d
Author: Holger Levsen <holger at layer-acht.org>
Date: Wed Nov 23 15:46:07 2016 +0100
YOLO: sort logically
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/email2irc.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/bin/email2irc.sh b/bin/email2irc.sh
index 40287bd..35ba86f 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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list