We need more details to help you. What type of job have you created?
How exactly are you executing phpunit? What is the build step you use? Shell, CMD, something else? Can you show us the exact command or configuration? More information is better than less. -- Sami Adam Tong <adam.to...@gmail.com> kirjoitti 5.2.2013 kello 21.13: > 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 <markwa...@yahoo.com> 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 <adam.to...@gmail.com> >> To: jenkinsci-users@googlegroups.com >> 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 jenkinsci-users+unsubscr...@googlegroups.com. >> 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 jenkinsci-users+unsubscr...@googlegroups.com. >> 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 jenkinsci-users+unsubscr...@googlegroups.com. > 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 jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.