Published August 17, 2018 by

Add Jenkins Slave node in Windows system

Jenkins uses a Master-Slave architecture to manage distributed builds. In this architecture, Master and Slave communicate through TCP/IP protocol.



In this tutorial, we learn how to add Jenkins slave node in windows machine.

Step 1: Enable agent on TCP port

Go to Manage Jenkins > Configure Global Security


Scroll down and find Agents Section and click on Fixed port or random port.

Step 2: Add node

Go to Manage Jenkins > Manage Nodes


Click on New Node and give Node name.



Configure the Node parameter according to your requirements and Save. (choose Launch method 'Launch agent via Java Web Start') and other details like below screenshot.



Now you can see Slave node is added successfully. But it is offline. To activate the slave node download Launch file.



Step 3: Activate Node

For activate slave node login into slave node's machine and copy Launch file here and Run it.

After, Successfully connected it shows one small pop-up for connection. Click on File > Install as a service



Go to Jenkins Master and Check, Now Jenkins Successfully connected with the slave node.


Now you can create a distributed job and build on the slave node.