To be honest I wouldn't pass buildnumber, I would use a run parameter so
that manual triggering should you ever need it (e.g. a failed deploy) would
be easier.
Format the build as
def job1runparam = build1.project.fullName + "#" build1.number
and then add that to the paramerers
def myparams = new HashMap();
myparams['job1', 'job1runparam']
then in the copy artifact a bit of fudging to use version '${job1_NUMBER'}
/James
On Monday, 16 September 2013 14:47:24 UTC+1, Emmanuel Boudrant wrote:
>
> Thanks, I will try !
> -emmanuel
>
> On Monday, September 16, 2013 6:04:02 AM UTC-7, Emmanuel Boudrant wrote:
>>
>> Hello,
>>
>> We've checked the Build Flow Plugin for parallel execution, is is
>> possible to manage the artifact in the plugin.
>>
>> Example :
>>
>> parallel (
>> // Each job is going to produce one artifact { build("job1") },
>> { build("job2") },
>>
>> ...
>>
>> { build("jobN") }
>>
>> )
>>
>>
>> // deploy need access to all the artifact generated by job1, job2, ..., jobN.
>> build("deploy")
>>
>>
>> Our use case is we have plenty of slaves for building the artifacts but only
>> one slave can deploy them.
>>
>>
>> Thanks,
>>
>> -emmanuel
>>
>>
--
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/groups/opt_out.