33

I'm following this official Jenkins guide in order to become familiar with the Jenkins Pipeline configuration. One of the steps there is to create a dumb slave and set it to "Launch slave agents via Java Web Start" but for some reason this option is missing from my configuration, the only other options I have are: enter image description here I've made sure that /usr/bin/javaws exists on the machine.

Any idea how to add it to Jenkins New Node configuration?

Itai Ganot
  • 10,424
  • 27
  • 88
  • 143

2 Answers2

49

This question was asked elsewhere: https://stackoverflow.com/a/38740924

You have to enable the TCP port of JNLP agents to enable this option for slaves.

Manage Jenkins > Configure Global Security > TCP port for JNLP agents

Adam Westhusing
  • 591
  • 3
  • 3
3

In my case, the answer can be found in another question I asked in the same matter and it seems like the problem is in outdated Jenkins documentation.

In 1.x version it was called "Dumb slave" and in modern versions "Permanent Agent". It is exactly the same.

Itai Ganot
  • 10,424
  • 27
  • 88
  • 143
  • 2
    Launch command wording also changed. WAS: "Launch slave agents via Java Web Start" NOW: "Launch agent by connecting it to the master" [Documented on S/O](https://stackoverflow.com/a/56980939/598141) – Ian W Jul 11 '19 at 02:46