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

前端 未结 4 1758
伪装坚强ぢ
伪装坚强ぢ 2020-12-15 04:46

I have already configured the java enviroment and installtion path

\"Here

相关标签:
4条回答
  • 2020-12-15 04:54

    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...

    0 讨论(0)
  • 2020-12-15 04:56

    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.

    0 讨论(0)
  • 2020-12-15 05:00

    I had similar issue after updating my Jenkins, I then used "Launch agent by connecting it to the master" method to launch and my port "TCP port for inbound agents" under - Manage Jenkins => Configure Global Security => Agents => TCP port for inbound agents got changed to 8888. I have updated it back to 50000 and that resolved the issue. Hope it helps.

    0 讨论(0)
  • 2020-12-15 05:13

    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

    0 讨论(0)
提交回复
热议问题