Hi These 2 settings are not really related. Explanation : I have a program that write a file to c:\temp\MyOutPut.txt this file contains : Result of last testrun : The last version is totally bad
and I merge it now the build will be ok, and when I browse to the dashboard, I will see the string "Result of last testrun : The last version is totally bad" So you have the same situatiuon : CCNet is Green, but there is a program telling that the build SHOULD be red Cause CCNet fails a build when a program in the tasks section says : I have encountered errors. This is done via the program exit codes : default 0 means no error, anything else is error and will fail the build. I think the cause is <executable>&nCoverTool;</executable> What is this, a batch file calling ncover ? if so, be sure that the bach file returns the errorcodes of ncover to ccnet with kind regards Ruben Willems On Fri, Mar 27, 2009 at 9:55 AM, schoetbi <[email protected]>wrote: > > Hi, > > I have a project where I run NUnit Tasks together with NCover like > this: > <exec> > <executable>&nCoverTool;</executable> > <baseDirectory>&workBase;\bin\Debug\</baseDirectory> > <buildArgs>&nUnitTool; Sara.Test.dll Sara.Persistence.Test.dll / > nologo ####THIS IS ONE LINE > /xml=nunitresults.xml //x ncoverresults.xml //a > Sara.Common;Sara.Core.Persistence;Sara.Services</ > buildArgs> > </exec> > > Then in the publishers section I do a <merge> task with this file and > then after that a xmllogger task. > > The NUnit Result is included in the merged file but still the result > of the integration run is successful not failed. > > I use the following tools: > CCNET: 1.4.3.4023 > NCover: 1.5.8.0 > NUnit: 2.4.1.0 > > Does someone encoutered the same problem and has a solution for me? > > Thank you, > Tobias >
