Adding Slave node to Jenkins server

To add a slave node to a Jenkins server, you will need to follow these steps:

  1. On the Jenkins server, click on "Manage Jenkins" in the left navigation menu.

  2. Click on "Manage Nodes" in the "Nodes" section.

  3. Click on the "New Node" button.

  4. Enter a name for the slave node and select the "Permanent Agent" option.

  5. Click on the "OK" button.

  6. In the "Launch Method" section, select the "Launch agent via Java Web Start" option.

  7. Click on the "Save" button.

After saving the configuration, Jenkins will display the command that you need to run on the slave machine to launch the slave agent. You will need to run this command on the slave machine to launch the agent and connect it to the Jenkins server.

It is important to note that the slave node will need to be able to communicate with the Jenkins server over the network in order to be able to connect. You may need to configure your firewall and network settings to allow communication between the slave and the Jenkins server.