How To Configure Jenkins Master And Slave Server 

Jenkins is an open-source CI/CD tools for the development cycle. This helps us in continuous integration and continuous deployment. Whenever a commit comes from a file it starts running a job. Let’s see how to configure Jenkins master and slave server. 

Check Out: How To Install Maven(Java) In Jenkins Using Plugin

you can reduce the load on the master server by creating a slave Jenkins server where all the jobs will run. you can also set the number of executors means a number of jobs would be run on the slave server.

Step 1: you need to go to Manage Jenkins –> Manage node

Note : you must have ssh plugin installed on the master server.

Step 2: Now you need to give it any name and click on permanent then Ok.

Here you will have to configure the Jenkins slave setup.

Step 3: After configuring Jenkins slave, the slave server will come up.

Check Out: Create Jenkins Production Job For Maven Project

Step 4: Now you have to configure a job for testing purposes and see the build should be created on a specified location on the slave and build successful.

Check the build location on the slave,

The build has been created on the specified path which means all the jobs are running on the slave server.

You’re done.

Leave a Reply

Notify of