Is there any way to run an exec task in cruise-control.net even if errors have occurred in the previous tasks. The same functionality which we get through the finally block in .net. I want to execute a 开发者_JAVA百科set of tasks which is independent of the success/failure of the previous tasks.
Thanks.
This is usually achieved using the <publishers/>
element, which accepts the same Tasks as the <tasks/>
element. Publishers are always executed, even if the <tasks/>
fail.
精彩评论