[Qa-jenkins-scm] [jenkins.debian.net] 01/02: YOLO: refactor
Holger Levsen
holger at layer-acht.org
Wed Nov 23 14:33:12 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 c6b516414955e9829efe57fa6d761e56113a9e5a
Author: Holger Levsen <holger at layer-acht.org>
Date: Wed Nov 23 15:32:17 2016 +0100
YOLO: refactor
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/email2irc.sh | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/bin/email2irc.sh b/bin/email2irc.sh
index 20dc8f5..3870967 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') "
--
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