Creating a Jenkins Slave via Java Web Start

后端 未结 3 1583
你的背包
你的背包 2021-02-05 03:09

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

But now after reins

相关标签:
3条回答
  • 2021-02-05 03:22

    Manage Jenkins => Configure Global Security => Enable security => TCP port for JNLP agents Set it to either Fixed (for this option also set the port number) or Random.

    0 讨论(0)
  • 2021-02-05 03:29

    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)
  • 2021-02-05 03:42

    Ok, I found it myself!

    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"

    As mentioned here:

    Manage Jenkins => Configure Global Security => Enable security => TCP port for JNLP agents Set it to either Fixed (for this option also set the port number) or Random.

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