publicRavi
publicRavi

Reputation: 2763

Hudson/Jenkins: Start task simultaneously on multiple slave machines

If I have a task (a script) that needs to start on n number of machines at the same time (with some tolerance: ~10 minutes), how do I go about setting this up in Hudson or Jenkins?

Upvotes: 0

Views: 2292

Answers (1)

Sagar
Sagar

Reputation: 9503

Are they all the same type of machine (OS?)

You can use a multi-configuration style job. This will run the script on all the machines you specify under "slaves".

If they are not all the same (for eg mix of Linux and Windows), you may need to come up with either a platform independent script - like ant, or install bash on Windows so you can use "Execute Shell"

Upvotes: 3

Related Questions