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">
...
<exec executable="..." failonerror="false"/>
...
</target>
<target name="TestC">
...
<exec executable="..." failonerror="false"/>
...
</target>
...
How can I make all the tests to execute anyways, but ant/Jenkins should fail if at least one of the three failed?