有什么方法可以冻结 Cruise Control .NET 中的构建吗?
我正在使用 Cruise Control .NET 来自动化构建。我已经为 CCNET 中的自动构建配置了很多项目。有什么方法可以冻结特定的构建,一段时间后,我想将其释放到旧状态,就像我想删除冻结一样,用户将能够再次构建它。
我可以做一些配置吗?
I am using Cruise Control .NET to automate the build. I have configured lots of project for the automated build in CCNET. Is there any way to freeze particular build and after sometime, i wanna release that to old state, like i wanna remove the freeze and the user would be able to build it again.
Can i do some configuration for the same?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您必须编辑配置文件。最简单的方法是将
设置为空。这样您仍然可以手动强制构建,但自动化将会停止。更新
您不应该依赖于必须暂停构建系统。 CruiseControl 的重点是实现一个持续构建系统。您试图通过停止构建来破坏该模型。您应该为您的构建设置一个管道:
这样您就可以准确地知道 QA 团队正在测试哪个版本。更重要的是,您可以在版本控制系统中及时返回以查看代码或分支。
如果策略是暂停每个 QA 周期的构建,那么使用 CruiseControl 就没有任何意义。我建议重新考虑这个过程并提出一个不需要停止构建的解决方案。
You have to edit the config file. The easiest way is to set the
<triggers/>
to empty. That way you can still manually force a build but the automation will stop.Update
You shouldn't rely on having to pause the build system. The whole point of CruiseControl is to implement a continuous build system. You are breaking that model by trying to stop the builds. You should setup a pipeline for your builds:
This way you know exactly which build the QA team is testing. And more importantly, you can go back in time in your version control system to see the code or branch.
There isn't any point having CruiseControl if the policy is to pause the build for each QA cycle. I suggest rethinking the process and coming up with a solution that doesn't involve having to stop the builds.