Comments on How to Setup Jenkins Master and Slave on Ubuntu

Jenkins is an automation server with support for many SCM (Source Control Management) systems including Git, SVN, and Mercurial. Jenkins provides hundreds of plugins to automate your project. In this tutorial, we will learn how to set up Jenkins master-slave architecture using the latest Ubuntu version Ubuntu. We will learn to set up the Jenkins master server, and then add other Ubuntu nodes as Jenkins slaves.

9 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Joana

Thank you very much for the tutorial, everything worked as expected!

By: Sunny

I'm getting this error - even tho I can ssh from master to slave. Any suggestions:

This agent is offline because Jenkins failed to launch the agent process on it. See log for more details

 

By: Rohan

Awesome Article with step by step explanation to install Jenkins

By: Gerard

In "useradd -m -s /bin/bash Jenkins" the username has a capital "J" .. Shouldn't this be a "j" ? 

By: till

Yes, should be lowercase as shown in the screenshot. I've corrected the tutorial text.

By: medhun

Can anyone pls help me on the below one?

ssh-copy-id jenkins@private-ip-slave-agent

/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/var/lib/jenkins/.ssh/id_rsa.pub"

/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed

 

/usr/bin/ssh-copy-id: ERROR: ssh: connect to host private-ip-slave-agent port 22: Connection timed out

 

By: gopi

hi 

can we create a Linux local machine as a slave to aws ec2 Master Jenkins ? if yes please guide me how to do it or share me the links if you have. Thank you

By: Matt Corr

Thanks very much for this article! Very helpful and it all worked :)

By: Johnny

Thank you, and good instructions!! I successfully deployed one jenkins slave server and the job built on the slave.