问题描述
我要在Jenkins中创建Windows从站,为此,我需要将Java Web Start用作从站配置中的启动方法.我知道要在从属配置中查看此选项,我们需要将管理Jenkins">配置全局安全性">代理">"TCP JNLP代理"中的设置更改为已禁用".
I'm creating a windows slave in Jenkins and for that, I need to use the Java Web Start as a launch method in slave configuration.I'm aware that to view this option in slave configuration, we need to change the setting in Manage Jenkins>Configure global security>Agents>TCP JNLP AGents to Random from disabled.
但是在我的情况下,我看不到JNLP端口代理,可见的选项是入站代理的TCP端口"而不是"JNLP代理的TCP端口".
But in my case, I'm not able to see the JNLP port agent, the option visible is "TCP port for inbound agents" instead of "TCP port for JNLP agents".
我已经在管理Jenkins">全局工具配置"中安装了JDK,但是在此之后,它也没有为JNLP代理提供选项.
I've installed JDK in Manage Jenkins>Global tool Configuration, but after this as well it's not giving an option for JNLP agents.
有人可以帮忙吗,我可以在Jenkins>配置全局安全性">代理"下查看"JNLP代理的TCP端口"选项
Can someone please help with this, where I can view the "TCP port for JNLP agents" option under Jenkins>Configure global security>Agents
推荐答案
"JNLP代理的TCP端口"设置在配置全局安全性"设置中似乎不再可用.无需修改代理的设置,而是将Launch方法设置为通过将代理连接到主服务器来启动代理".它的作用类似于您要寻找的选项:
The 'TCP port for JNLP agents' setting seems to be not available anymore in the 'Configure Global Security' settings. Instead of that modify your agent's settings and set Launch method as 'Launch agent by connecting it to master'. It works similarly to the option that you are looking for:
这篇关于Jenkins中的“配置全局安全性"缺少JNLP端口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!