I have installed Jenkins on a server ,by default the job will run on that server only .My requirement is from my Jenkins how I can run the the same job on to multiple server ?How it will ssh to other servers ? I am new to Jenkins,Please help .Basically my aim is to deploy a application on to multiple servers .
You may use any of the configuration management tool like ansible, chef or capistrano as jenkins jobs so that they can do your work with jenkins. You can mention the number of servers under the capistrano cookbook and whenever you will build the job it will run your task on all servers.
There is also a tool like pssh(parallel ssh), In case you want to use ssh.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With