copy artifact can be used with a fixed build selection passed as parameter
afaik
so just have to get build number from previously executed jobs and pass as
parameter to deploy


2013/9/16 Emmanuel Boudrant <emmanuel.boudr...@gmail.com>

> I am not sure it will work, copy Artifact plugin is going to only copy the
> last successful artifact of a given job ?
>
> When I launch N job in parallel they are actually the same job with
> different parameter. Could it copy the artifacts generated by each job
> build ?
>
>
> On Monday, September 16, 2013 6:09:06 AM UTC-7, rginga wrote:
>>
>>  The Copy Artifact Plugin will allow your “deploy” job to copy artifacts
>> from your other jobs and put them in the deploy workspace.
>>
>>
>>
>> *From:* jenkins...@googlegroups.**com [mailto:jenkins...@**
>> googlegroups.com] *On Behalf Of *Emmanuel Boudrant
>> *Sent:* Monday, September 16, 2013 9:04 AM
>> *To:* jenkins...@googlegroups.**com
>> *Subject:* Build Flow Plugin and artifacts management in the DSL
>>
>>
>>
>> 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 jenkinsci-use...@**googlegroups.com.
>> For more options, visit 
>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>> .
>>
>  --
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to