如何通过CLI添加Jenkins从节点? [英] How can I add Jenkins slave nodes via the CLI?

查看:188
本文介绍了如何通过CLI添加Jenkins从节点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

按照标题,在Jenkins中如何使用CLI将新的从属节点添加到构建集群中,或者如果没有CLI选项,是否可以使用另一种脚本化方法?

As per the title, in Jenkins how can I add new slave nodes to my build cluster using the CLI, or if there is not a CLI option, is there another scriptable approche that can be used?

推荐答案

许多人使用 Swarm插件消除了手动实际添加从站的需要.当然,您需要编写swarm代理的安装脚本,但这应该很简单.

Many people use the Swarm Plugin to eliminate the need to actually add slaves manually. You would need to script the install of the swarm agent of course, but that should be pretty straight forward.

这篇关于如何通过CLI添加Jenkins从节点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆