jenkins服務器:linux
jenkins節點配置:
主節點:linux,用法選擇:Use this node as much as possible(儘可能的使用這個節點)
從節點:windows,用法選擇:Use this node as much as possible(儘可能的使用這個節點)
主節點下有幾十個job並且#of executors配置數量爲2,而從節點只配置了一個項目。
原因可能是因爲主節點用法配置了“儘可能的使用這個節點”,從而導致windows節點空閒時被使用了。
解決方法:
節點用法配置改爲:只允許運行綁定到這個節點的job。