Your most unhappy customers are your greatest source of learning.

Jenkins master - slave configuration

If you are new with Jenkins and want to know how to configure slave server with Jenkins master ,
Here are the steps to follow to configure slave server(Linux,Windows and JNLP):



For Linux :

1) Setup Jenkins server in your local machine as steps mentioned in  http://sonar-jenkins.blogspot.in/2012/05/setup-jenkins-in-local-machine.html

2) Now go to Manage Jenkins >> Manage Nodes
3) Create new node by clicking on New Node  link and selecting Dumb node option.Here you can also use Copy from Existing Node option if you already have one node available and want to copy existing configuration(See below screenshot)



 4) Now provide IP or host details as show in below screen shot


5) Here you can also configure tools locations and Environment Varialbes, which you wanna use to build the project like JDK,ANT etc (See below screenshot)

jenkins-master-slave3

6) Now save the configurations and check whether slave is launched successfully or not.
7) To luanch the slave server, click on the generated node link and it will show one screen which would have "Launch slave agent" button.(See screenshot)




8) you can also check log by clicking on link "See log for more details" .

Note : When you create any new job and want to use this slave, at that time at the time of creation job there is one configuration check-box available called "Restrict where this project can be run" to connect with slave server(See below screen shot)


2 comments

  1. could u explain conept of master & slave ???

    ReplyDelete
  2. Slave server means, a server where all your job will be executed. its sperat server from the original jenkins setup.
    In one word , we can say its remote server.

    ReplyDelete

Most Reading

 

Like Me & Share

Buy Websites PRchecker.info

Members

Ranks