running a Jenkins job on multiple virtual servers

0 votes

I installed Jenkins on a server ,by default the job was running on that server .I want my Jenkins to run the the same job on to multiple server. How is it going to ssh to other servers? I want to deploy an application over multiple servers. How do I do that? I am not that experienced .

Can anyone help me with this query?

thanks.

May 25, 2018 in Jenkins by Atul
• 10,240 points
3,150 views

1 answer to this question.

0 votes

Your goals can be achieved by using any of the configuration management tool like ansible, chef or capistrano as jenkins jobs so that your work can be done with jenkins. The number of servers you want can be mentioned under the capistrano cookbook and whenever the job will be  built, the task will run on all servers.

I hope that it will help you in resolving your query.

answered May 25, 2018 by shubham
• 7,340 points

Related Questions In Jenkins

+2 votes
4 answers
+2 votes
3 answers

Permission denied error while running a simple job in Jenkins

Hey @Hannah, try changing the permissions using ...READ MORE

answered Oct 25, 2018 in Jenkins by krishti
58,443 views
0 votes
1 answer

Set a Jenkins environment variable based on a job parameter

So if you give choice parameter the ...READ MORE

answered Aug 14, 2018 in Jenkins by Kalgi
• 52,350 points
8,549 views
0 votes
1 answer

Can I use multiple containers on a jenkins declarative pipeline?

Yes of course you can!! You try ...READ MORE

answered Apr 12, 2019 in Jenkins by Vedant
5,957 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,036 views
+2 votes
1 answer
0 votes
2 answers

will running multiple Jenkins masters on same host increase the performance?

While using one big master, u can ...READ MORE

answered Aug 7, 2018 in Jenkins by Kalgi
• 52,350 points
3,258 views
+2 votes
5 answers
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP