问题描述
我的Jenkins上已经有一个正常工作的Master-Slave Configuration,但是有更新将其破坏了,所以我不得不重新安装它(还没有备份).
I have already had a working Master - Slave Configuration on my Jenkins, but an update broke it so I had to reinstall it (didn't have a backup yet).
但是现在重新安装Jenkins之后,我再也无法使用它了.
But now after reinstalling Jenkins I don't get it to work anymore.
当我继续进行Manage Jenkins->节点管理时,我只能添加新的永久"代理,而不能添加我以前拥有的旧的"Dumb Slave"节点.是否有更新或其他内容使它不再起作用?
When I go on Manage Jenkins -> Node Management I can only add new "permanent" Agents and not the old "Dumb Slave" Node I used to have. Was there an update or something so this doesn't work anymore?
还在使用此永久代理时提供帮助吗?在启动方法"字段上显示通过Java Web Start启动代理"选项-但在下拉菜单中不可用.
Also when using this permanent Agent the help ? shows me the option "Launch agent via Java Web Start" on the Launch method field - but in the drop down it is not available.
我在安装上做错了吗?
使用最新的Jenkins 2.16版本
edit: Using newest Version 2.16 of Jenkins
推荐答案
好,我自己找到了!
在全局安全性中,我没有为JNLP代理启用的TCP端口,该端口自动禁用通过Java Web Start启动代理"行
In the Global Security, I didn't have a TCP port for JNLP agents enabled, which automatically disables the line "Launch agent via Java Web Start"
如此处所述:
管理Jenkins => 配置全局安全性 => 启用安全性 => JNLP代理的TCP端口将其设置为固定(为此选项还设置端口号)或随机.
Manage Jenkins => Configure Global Security => Enable security => TCP port for JNLP agentsSet it to either Fixed (for this option also set the port number) or Random.
这篇关于通过Java Web Start创建Jenkins从站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!