CruiseControl.NET 参数传递
我有一个 CruiseControl.NET ccnet.config 文件,它监视同一项目范围内的两个不同项目。如果其中之一发生变化,则必须触发构建。但我想知道这两个项目中哪个项目发生了变化。我必须将它们作为命令行参数传递。有内置属性吗?
I have a CruiseControl.NET ccnet.config file, which monitors two different projects in the same project scope. If one of them changes, it has to trigger a build. But I wanted to know which project has been changed among the two. I have to pass them as a commandline parameter. Is there any built-in property?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将项目拆分为两个项目似乎是正确的做法。
具体来说,拆分为项目并为 DML 项目添加项目触发器 .
这样,如果表脚本要更改,两个项目都会被触发,如果只有某些 DML 语句更改,则只会触发第二个项目。
如果两个项目都有共同的触发器,那么我建议使用同步队列。
华泰
Splitting the project to two projects seems like the right thing to do.
Specifically, split to to projects and add a Project trigger for the DML project.
This way if the table scripts are to be changed, both projects will be triggered and if only some DML statement changes, only the second project will be triggered.
In case both projects have common trigger then i recommend using a synchronization queue.
HTH