CruiseControl.NET 中的队列优先级
在我的构建配置中,我有多个项目队列:
Queue1, Queue2, ... Queue(N)
我想配置构建,我可以在其中设置每个队列构建时的优先级:
Queue1 = Priority of 2, Queue2 = Priority of 1 ...
这会生成按以下顺序构建的队列:
Queue2, Queue1 ...
如何在 CruiseControl.NET 中完成此操作?
In my build configuration I have multiple project queues:
Queue1, Queue2, ... Queue(N)
I want to configure the build where I can set the priority of when each queue builds:
Queue1 = Priority of 2, Queue2 = Priority of 1 ...
which produces the queues being built in the following order:
Queue2, Queue1 ...
How can I accomplish this in CruiseControl.NET?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这对于 CruiseControl.NET 来说是不可能的 - 每个队列都是独立的,因此它们都独立运行。唯一的例外是使用 lockqueues 属性 - 但这不允许设置优先级。
This is not possible with CruiseControl.NET - each queue is seperate, so they all run independently. The only exception to this is using the lockqueues property - but this does not allow setting the priority.
据我所知,优先级是在队列内分配的,即属于同一队列的项目按其优先级排列。考虑以下配置:
项目 1 在项目 2 之前执行,但项目 1 和项目 3 以任意顺序(甚至并行)执行,因为它们属于不同的队列。
As far as I know, priorities are assigned inside a queue i.e., projects that belong to the same queue are ranked by their priority. Consider the following configuration:
Project 1 is executed prior to Project 2, but Project 1 and Project 3 are executed in arbitrary order (or even parallel), since they belong to different queues.