Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

NET is reporting that the build succeeded when it failed. Why?

build failed NET succeeded
0
Posted

NET is reporting that the build succeeded when it failed. Why?

0

When triggering external tools like NAnt, MSBuild and even Devenv CruiseControl.Net uses the “ErrorLevel” exit value returned by the tool to determine if the process was successful. In most such tools, zero is returned if the task succeeded. A non-zero value is typically used to indicate a failure, and when it sees a non-zero value CCNet will report that the task failed. If the tool you are using does not respect these conventions (like, for example, Microsoft’s FXCop utility), then CruiseControl may report failure (or success) incorrectly.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123