[Anthill-pro] PostProcessingScript failure - help please!

Wes Bramhall WesB at widen.com
Tue Jan 29 08:20:28 CST 2008


Greetings! I'm using an Ant Builder and it's using the Default Ant Build
PostProcessingScript:

return Fail.unless(

    Logic.and(

        Output.contains("BUILD SUCCESSFUL"),

        ExitCode.is(0)

    )

)

 

When I run the build and unit tests fail, I have a fail inside that ant
target (unit.tests.failed is the failureproperty of the junit task):

      <fail message="Some unit tests failed." if="unit.tests.failed"/>

 

 

Anthill is not sending out my failure or success emails, I'm thinking
due to the unexpected exception.

 

 

Error Message:

BuildLifeJobTrace Failed

2008-01-28 18:40:34,069 ERROR 458 - Caught unexpected exception -
com.urbancode.command.CommandResultException: PostProcessingScript
Failing command: 0 lines matched 

Step 5: Trunk Unit Tests Ant Builder Failed 

2008-01-28 18:40:34,037 ERROR 458 4 - PostProcessingScript Failing
command: 0 lines matched 

 

Ant Builder output:

BUILD FAILED

D:\anthill3.4-agent\var\jobs\projects\Trunk_Unit_Tests_Project\Trunk_Uni
t_Tests_Workflow\collective\anthill3_build.xml:185: Some unit tests
failed.

 

Total time: 5 minutes 15 seconds

command exit code: 1

 

 

 

I just have no idea why it's not working. Any help?

 

Thanks,

-Wes

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill-pro/attachments/20080129/7c7cd754/attachment.htm


More information about the Anthill-pro mailing list