Use the node label parameter plugin and pass the node name as a param to the build. Build flow accepts parameters as maps, check the docs.
Sent from my iPhone > On Mar 27, 2014, at 8:53 AM, "Ginga, Dick" <[email protected]> wrote: > > I think you can only do that in each job definition, that is in the > specification for Job1, 2, and 3. I don’t think you can pass anything to the > build method to do that. > > From: [email protected] > [mailto:[email protected]] On Behalf Of [email protected] > Sent: Thursday, March 27, 2014 11:36 AM > To: [email protected] > Subject: Parallel builds with Build Flow > > Build Flow plugin allows one to have parallel builds in a simple way: > > parallel ( > // job 1, 2 and 3 will be scheduled in parallel. > { build("job1") }, > { build("job2") }, > { build("job3") } > ) > // job4 will be triggered after jobs 1, 2 and 3 complete > build("job4") > > Is it possible to delegate a specific node for each job on the parallel > environment? > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
