How to make Jenkins display fail if one of the ant tests fail
问题 I have several tests that should be executed regardless of each other's success and I want Jenkins/Hudson to display red light if at least one of those tests failed. My current (simplified for clarity) configuration is as following: ci.sh : ... ant ... build.xml : ... <target name="AllTests"> <antcall target="TestA"/> <antcall target="TestB"/> <antcall target="TestC"/> </target> <target name="TestA"> ... <exec executable="..." failonerror="false"/> ... </target> <target name="TestB"> ...