简体   繁体   English

Jenkins来自同一项目的不同构建在不同的从属节点中

[英]Jenkins multiple builds from the same project in different slave nodes

Can I queue multiple builds from the same project in different slaves nodes and only one build per node? 我可以将来自同一项目的多个版本排队在不同的从属节点中,而每个节点仅排队一个吗? is there any plugin to do it? 有没有插件可以做?

You can use a matrix-project 您可以使用矩阵项目

The Configuration Matrix allows you to specify what 
steps to duplicate, and create a multiple-axis graph 
of the type of builds to create.

Which also supports a NodeLabel plugin. 它还支持NodeLabel插件。

This plugin adds two new parameter types to job 
configuration - node and label, this allows to 
dynamically select the node where a job/project 
should be executed.

This combination will allow you to bind one configuration to selected (or all) nodes 这种组合将使您可以将一种配置绑定到选定的(或所有)节点

Thanks to all of you, specially to KeepCalmAndCarryOn,he give me a good hits to solve the problem. 感谢你们所有人,特别是对KeepCalmAndCarryOn的支持,他给我很好的解决方法。 Finally I have installed Throttle Concurrent Builds Plugin and I have set the following options on the job config: 最后,我安装了Throttle Concurrent Builds插件,并在作业配置中设置了以下选项: 插件配置

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM