Just correcting a typo with job names.
parallel (
{ build("job1", id:"1", type:"foo") },
{ build("job1", id:"2", type:"bar") }
)
On Thursday, March 27, 2014 4:07:33 PM UTC, [email protected] wrote:
>
> *rginga*, I'm aware of that possibility but in my case I'm paralleling
> the same job, just with different parameters:
>
> parallel (
>
> // job 1, 2 and 3 will be scheduled in parallel.
>
> { build("job1", id:"1", type:"foo") },
>
> { build("job2", id:"2", type:"bar") }
>
> )
>
> // job4 will be triggered after jobs 1, 2 and 3 complete
>
> build("job4")
>
> *Marc MacIntyre*, I will try that. Thank you very much.
>
>
> On Thursday, March 27, 2014 4:01:59 PM UTC, Marc MacIntyre wrote:
>>
>> 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.