Posts

Jenkins Master Slave Configuration. (Ubuntu instance as a slave)

Image
 Connect Ubuntu server as a Slave - Using Private Key Hi everyone ! In my Internship project, I had to configure a Ubuntu Instance as a Slave/Node to run a Jenkins job. That Instance runs in a AWS server. In this blog I'll show in simple steps how I configured that instance as a slave in Jenkins. I needed the following details about the instance.     IP of the Ubuntu instance.    User name (which is configured in the instance)    My private key  Step 1 :  Go to Manage Jenkins from the left menu Step 2 : Select Manage Nodes Step 3 : Select New Node and enter the node details.            1.  Name  -  Name of the node. This name will get displayed in the main view, under nodes section.  2. Description - A Description. Better to include details about RAM, CPU storage etc.  3. # of executors - The maximum number of concurrent builds that Jenkins may perform in this node.  4. Remote root directory - Specify a directory in the agent node. (Note that the workspace will get created inside t