Hi,
In the upcomming ant build sensor upgrade:
<hacky-build verbose="true" debug="false"
monitorCheckstyle="true" monitorCompilation="true"
monitorJUnit="true"
keyValuePairs="configuration=${ProjectConfiguration},buildStartType=${ProjectBuildStartType}"
/>
Using checkstyle as an example:
We know that we can write ant script in such a way that checkstyle
violation will fail (or not fail) the build.
When "monitorCheckstyle=true", there is no change in sensor behavior,
the sensor will think the build has failed so long as there is
checkstyle violation, regardless how you write the build script (i.e.
regardless whether ant thinks the build has failed or not).
When "monitorCheckstyle=false", and there is checkstyle violation, but
ant does not think build failed, the sensor records no error message.
When "monitorCheckstyle=false", and there is checkstyle violation, and
ant thinks build failed, the sensor records single generic build failure
message.
The default value is false.
Comments?
Thanks.
Cedric