There is no “Launch agent via Java Web Start” option in my jenkins when I adding a windows slave node

[亡魂溺海] 提交于 2019-12-18 03:03:53

问题


I have already configured the java enviroment and installtion path


回答1:


This is a duplicate question from Server Fault: Answer Here

Java Web Start utilizes TCP so it has to be enabled and configured in Jenkins...

  1. Login to Jenkins as admin
  2. Manage Jenkins > Configure Global Security > TCP port for JNLP agents

Do yourself a favor and pick a static port assignment...




回答2:


As of Jenkins version 2.176.3, there is option enabled when "Launch agent by connecting it to the master" which is same as "launch agent via java web start" once you enable the "Manage Jenkins => Configure Global Security => Agents => TCP port for inbound agents" as mentioned above. e.g. Fixed: 50000




回答3:


Make sure that you've enabled a JNLP port in Manager Jenkins -> Configure Global Security. If no JNLP port is specified, then the JNLP slave option will not appear.



来源:https://stackoverflow.com/questions/40340097/there-is-no-launch-agent-via-java-web-start-option-in-my-jenkins-when-i-adding

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!