开发者

Mandatory executable task in cruisecontrol.net

开发者 https://www.devze.com 2023-03-13 01:32 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号