title: Why Does CruiseControl.net Build Still Succeed When Exec Task Fails?
body: <p>I have this task in publishers after xmllogger:</p>
  
  <pre><code>      &lt;exec&gt;
      &lt;executable&gt;CheckForWarnings.cmd&lt;/executable&gt;
      &lt;successExitCodes&gt;0&lt;/successExitCodes&gt;
      &lt;baseDirectory&gt;C:\Program Files (x86)\CruiseControl.NET\server&lt;/baseDirectory&gt;
      &lt;buildArgs&gt;all&lt;/buildArgs&gt;
    &lt;/exec&gt;
  </code></pre>
  
  <p>I've verified that this task is returning a non-0 exit code via the ccnet service logs:</p>
  
  <p>2013-01-29 23:21:20,571 [Encompass.2013R1:INFO] Integration complete: Failure - 1/29/2013 11:21:20 PM</p>
  
  <p>So why is the build still green?</p>