Re: Parallel builds with Build Flow

2014-03-27 Thread hi
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, h...@renatorodrigues.me wrote: > > *rginga*, I'm aware of that possibility but in my case I'm paralleling > t

Re: Parallel builds with Build Flow

2014-03-27 Thread hi
*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 triggere

Parallel builds with Build Flow

2014-03-27 Thread hi
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 completebuild("job4") Is it possible to delegat

Re: How to access jobs variables with Build Flow Plugin?

2014-03-27 Thread hi
Can I use Groovy Postbuild with Build Flow or should I use only the first? On Tuesday, March 25, 2014 4:51:54 PM UTC, rginga wrote: > > I do not have an answer but I have some knowledge. The only thing you > have left after “Build” runs is “b”. from the build flow Wiki page: > > > > Environmen

How to access jobs variables with Build Flow Plugin?

2014-03-25 Thread hi
My Build Flow job has the following structure: b = build("Build") parallel ( { build("Test-Device", device: "id1") }, { build("Test-Device", device: "id2") } ) In the Build job, I have a variable: export DEVICES="id1 id2". From the flow DSL, how can I have access to this variable