[Qa-jenkins-scm] [jenkins.debian.net] 01/01: strip noise
Holger Levsen
holger at layer-acht.org
Wed Nov 23 11:01:35 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 624ebe962e9ee135ce98d00ced3d0c90c266e016
Author: Holger Levsen <holger at layer-acht.org>
Date: Wed Nov 23 12:01:21 2016 +0100
strip noise
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/email2irc.sh | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/bin/email2irc.sh b/bin/email2irc.sh
index 02f10ef..1da5f41 100755
--- a/bin/email2irc.sh
+++ b/bin/email2irc.sh
@@ -98,7 +98,10 @@ done
if [ -z $JENKINS_JOB ] ; then
VALID_MAIL=false
fi
-debug123 "#5" MY_LINE $MY_LINE
+debug123 "#7" MY_LINE $MY_LINE
+# remove bogus noise
+MY_LINE=$(echo $MY_LINE | sed -s "s#------------------------------------------##g")
+debug123 "#8" MY_LINE $MY_LINE
# only send notifications for valid emails
if [ "$VALID_MAIL" = "true" ] ; then
--
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