I have a local Jenkins server that I've set up and created jobs for. I am trying to register new slave/build machines, but Jenkins refuses to offer a slave.jar or slave-agent.jnlp
These files simply don't exist. Permissions are currently set to be granted in full to every user. When visiting the the agent node in Jenkins from the new slave machine, I simply see the blue "Launch Agent" button and not the orange "Launch" option that downloads and runs the slave.jar file.
I've looked through many tutorials and all act as if this process is automatic, and they all show an orange "Launch" button that will download the slave.jar. No one seems to have had this problem yet. Any help is greatly appreciated.
Jenkins -> Manage Jenkins -> Configure Global Security -> To enable TCP port for JNLP agents
set it to Random
In node configuration, change the Launch method to Launch agent via Java Web Start
Make sure Java is installed on your slave node
Now login to slave node, open browser and browse jenkins UI
Go to Manage Jenkins -> Manage Nodes -> Select the slave node
You should now see the Orange launch button. Click on the launch button to download the file
Now run the command shown on the screen in command prompt window
Slave should now be connected
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With