[Mono-dev] CruiseControl.Net reports failed NAnt builds as success

Leszek Ciesielski skolima at gmail.com
Wed Sep 12 09:50:57 EDT 2007

On 8/29/07, Leszek Ciesielski <skolima at gmail.com> wrote:
> Hi,
> I have setup a CCNet server farm, with one of the nodes running on
> linux+mono. The problem is that failed NAnt builds are not reported as
> such. I have tinkered a bit with the code today and managed to create
> a test case (attached). When 'nant' is called from console, it's
> return status is correctly returned with 'echo $?'. However, it is not
> returned through Process.ExitCode. The same happens when I run 'mono
> /usr/share/NAnt/bin/NAnt.exe', bypassing the wrapper script. Any ideas
> what is wrong?
> Related bug on CCNet Jira: http://jira.public.thoughtworks.org/browse/CCNET-830
> Regards,
> Leszek Ciesielski

Turns out this has nothing to do with nant/ccnet. A bugreport, with a
test case, is now in bugzilla:
http://bugzilla.ximian.com/show_bug.cgi?id=82796 Mono does not report
ExitCode of Process instances correctly.

More information about the Mono-devel-list mailing list