Hi, Where should I do this check exactly?
Is there a way to do that in build.xml? Thank you On Tue, Feb 5, 2013 at 12:03 PM, Mark Waite <[email protected]> wrote: > If your call to phpunit is expected to create a file, you could check that > file is created and then use "exit 1" to cause the build script to exit with > the failure. > > Mark Waite > > > ________________________________ > From: Adam Tong <[email protected]> > To: [email protected] > Sent: Tuesday, February 5, 2013 9:17 AM > Subject: Detect command failure? > > Hi, > > I am running jenkins on Linux. > > Yesterday, because of a memory issue, phpunit was not able to run the > hole tests suite. However the build was still successful. > > I understand that if phpunit fails it does not return any errors or > failures. > > Now I am wondering if there is a way to make Jenkins detect this kind of > issues. > > Thank you > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
