https://bugzilla.wikimedia.org/show_bug.cgi?id=40931

--- Comment #3 from Antoine "hashar" Musso <[email protected]> 2012-10-10 20:49:11 
UTC ---
In console log :
https://integration.mediawiki.org/ci/job/Parsoid-parserTests/38/console

The last lines executed correspond to:

 DIDITWORK=`echo $RBRESULT | grep "Current branch master is up to date."`

Whenever grep does not match, it will exit with status 1 which makes the shell
script to abort (set -e). Example:


 $ echo "foo" | grep bar ; echo $?
 1
 $

A hacky way would be to add a '|| true' at the end of command:

 $ echo "foo" | grep bar || true; echo $?
 0
 $

Or in your context:

 DIDITWORK=`echo $RBRESULT | grep "Current branch master is up to date."`


Hope this help :-D

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to