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,250 points
220 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
• 6,910 points

Related Questions In Jenkins

+1 vote
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
10,421 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
• 49,340 points
1,891 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
940 views
+13 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,400 points
297 views
0 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
• 49,340 points
773 views
+2 votes
5 answers