构建失败后的Cruiscontrol Force构建 [英] Cruiscontrol Force Build After Build Fails
本文介绍了构建失败后的Cruiscontrol Force构建的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
buildafterfailed = true在.net中不起作用,我该怎么做?我试图让CruiseControl触发强制构建,直到构建成功为止。
buildafterfailed="true" does'nt work in .net, How can I do the same thing? I'm trying to have cruisecontrol triggers force builds until the build is successful.
推荐答案
您可以使用项目触发器,其中 triggerStatus
设置为失败
并拥有一个项目监视器。 buildafterfailed是特定于CruiseControl的,CruiseControl.Net与之区别很大。
You can use Project Trigger with triggerStatus
set to Failure
and have a project monitor itself. buildafterfailed is specific to CruiseControl, from which CruiseControl.Net has diverged quite a lot.
另外,无论采用哪种方法都可能是个坏主意。
As a side note - doing this either way is probably a bad idea.
这篇关于构建失败后的Cruiscontrol Force构建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文