cruisecontrol.netxunit.net

How to make CC.NET continue build after failed task?


I am trying to run a couple of tasks (the xunit task, to be precise) on a CruiseControl.NET instance.

If one of these tasks fails, the build is aborted.

How can I prevent this? I would like CC.NET to run all tasks, even if some of them fail (they do not depend on one another).

I have tried running my tasks in a parallel task at first, but that would randomly fail with null reference exceptions most of the time (looked like a bug in CC.NET).

Also, I've tried to find something in the CC.NET config format docs, but wasn't successful there, either.


Solution

  • that is the concept of tasks in CCNet. if one fails, stop running following tasks. Possible solutions :