Jenkins操作步骤
- 找到
Manager Jenknins
- 点击
Node
或者是Node/Clouds
Node配置参数分析
-
Remote root directory
:远程工作目录 -
Labels
:标签匹配节点 -
Usage(节点匹配规则)
:- Only build jobs with label expressions matching this node`:通过标签表达式匹配节点
- Use this node as much as possible`:尽可能多地使用此节点
-
Launch method
:启动方式- Launch agents via SSH:通过SSH启动代理
Host Key Verification Strategy
选项选择Non verifying Verification Strategy
- Launch agent by connecting it to the controller:通过将代理连接到控制器来启动代理
- Launch agent via execution of command on the controller:通过在控制器上执行命令启动代理
- Launch agents via SSH:通过SSH启动代理