To be approximately simultaneous, have one master job launch X subjobs, each one running a script. Make sure that the master job does not wait to see how its jobs went. I say “approximately” because this is done at the mercy of the scheduler: if there are only one or two nodes open, they will only run a couple of the jobs. Even the multiconfiguration job is only “approximately” simultaneous for the same reason.
To be truly simultaneous, I’m not sure there is a way to do that in Jenkins. This goes against the grain of the tool, which encourages either no dependencies between nodes or at least serial dependencies, not simultaneous dependencies. --Rob From: [email protected] [mailto:[email protected]] On Behalf Of lunatic Sent: Tuesday, July 24, 2012 9:54 AM To: [email protected] Subject: How to spread task between few nodes? Hello all, My task is the following: I have X different scripts. I need to run them on different servers simultaneously: - each script should be executed only once; - it doesn't matter on which node it executed; - each node should handle not more than one script simultaneously. [*] My current task on Jenkins (multiconfiguration): Configuration Matrix -> User-defined Axis -> here is my list of scripts Configuration Matrix -> Label expression -> here is my list of nodes in this format: node1||node2||node3 Current problem: this task uses all available executors, but I need only one execution within single node at the same time (see [*]). Plugin/option "Throttle Concurrent Builds" doesn't work for my task. :( Anyone know how to achieve that? -- Sergey The information in this message is for the intended recipient(s) only and may be the proprietary and/or confidential property of Litle & Co., LLC, and thus protected from disclosure. If you are not the intended recipient(s), or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this communication is prohibited. If you have received this communication in error, please notify Litle & Co. immediately by replying to this message and then promptly deleting it and your reply permanently from your computer.
