[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] email2irc: properl redirect stderr to stdout

Mattia Rizzolo gitlab at salsa.debian.org
Fri Mar 15 15:39:15 GMT 2019


Mattia Rizzolo pushed to branch master at Debian QA / jenkins.debian.net


Commits:
8d50f287 by Mattia Rizzolo at 2019-03-15T15:38:59Z
email2irc: properl redirect stderr to stdout

Signed-off-by: Mattia Rizzolo <mattia at debian.org>

- - - - -


1 changed file:

- bin/email2irc.sh


Changes:

=====================================
bin/email2irc.sh
=====================================
@@ -18,8 +18,9 @@ trap rmtmp INT TERM EXIT
 cat > "$TMPFILE"
 
 # try to run the new script to see how it goes
-/srv/jenkins/bin/email2irc.py "$TMPFILE" 2>&1 >> "$LOGFILE"
+/srv/jenkins/bin/email2irc.py "$TMPFILE" >> "$LOGFILE" 2>&1
 
+# shellcheck disable=SC2181
 if [ $? -ne 0 ]; then
     # email2irc failed to parse the file, mail it for further investigation
     echo "@@@@ email2irc failed" >> $LOGFILE



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/8d50f28780a1f55426c31093ec69df1230a9ad26

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/8d50f28780a1f55426c31093ec69df1230a9ad26
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20190315/4c2e2165/attachment.html>


More information about the Qa-jenkins-scm mailing list