Daniel,
It worked!
Thanks for an android.os.Bundle :)
On Thursday, 8 August 2013 17:11:56 UTC-4, Daniel Beck wrote:
>
> It basically means "Check whether the output of grep when searching for
> 'Test failed' is empty; it it's not, fail the script".
>
> On 08.08.2013, at 21:58, Lin Chen >
>
It basically means "Check whether the output of grep when searching for 'Test
failed' is empty; it it's not, fail the script".
On 08.08.2013, at 21:58, Lin Chen wrote:
> Thanks for your reply.
> But can you explain what is the double bracket, [[ -z "$( grep 'Test failed'
> tmp.log )" ]] ?
>
>
Thanks for your reply.
But can you explain what is the double bracket, [[ -z "$( grep 'Test
failed' tmp.log )" ]] ?
On Wednesday, 7 August 2013 15:31:16 UTC-4, Daniel Beck wrote:
>
> Jenkins marks a build as failed if a shell script step returns an error
> exit code (anything but 0).
>
> Failin
Jenkins marks a build as failed if a shell script step returns an error exit
code (anything but 0).
Failing tests aren't errors in the test executor, so these calls probably
return 0 (successful), and are interpreted by the shell as such.
You need to parse the output in some way, and, if it mat