2015-04-30 61 views
1

我可以将同一项目中的多个构建在不同的从属节点中排队,每个节点只能构建一个构建?有没有插件可以做到这一点?Jenkins可以从不同的从节点中的同一项目构建多个构建

+0

为什么不将作业绑定到所需的服务器? – stanjer

+0

如果将作业绑定到由所有从属节点共享的特定节点标签,那么这些作业将只建立在这些从属节点上。而且,如果你让每个从节点只有一个进程,那么你就可以实现你所要求的。 – hofan41

回答

1

您可以使用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. 

也支持一个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. 

这种组合将允许选择(或全部)节点

0

感谢你们所有的人,特别是对KeepCalmAndCarryOn你绑定一个配置,他给了我一个很好的点击率来解决这个问题。 最后,我已经安装了Throttle Concurrent Builds Plugin,并且我在作业配置中设置了以下选项: Plugins Config

+0

你确定这可以解决它吗?当我这样配置时,jenkins只需在多个节点上运行完全相同的作业。 – Joakim

相关问题