How To Configure Jenkins Master And Slave Server
Jenkins is an open source CI/CD tools for development cycle. This help us in continuous integration and continuous deployment. Whenever a commit comes from a file it starts running job. Let’s see how to configure Jenkins master and slave server.
you can reduce the load on master server by creating a slave Jenkins server where all the job will run. you can also set the number of executors means number of job would be run on the salve 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 configure 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 purpose and see the build should be created on specified location on the slave and build successful.
Check the build location on the slave,
Build has been created on the specified path which mean all the job are running on slave server.