2015-04-30 68 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

相關問題