The copy artifact does _not_ copy from the workspace, it only copies the artifacts that Jenkins saves.
You can copy saved artifacts from as many different jobs as you want – you just need multiple “copy artifacts” steps.
--
--
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b52cfa21-9fe7-4c71-b677-738e382d34c3%40googlegroups.com.
So I have 21 different jobs which runs seperately for each git repo and archives the artifact.
And i have a job which deploys to a integration environment. in this job, i want to have these 21 jobs as choices , and i can select what jobs i need to copy each time when i trigger this job,, the problem for me is if i have extended choice parameter i cannot use that value to pass to the copy_artifact plugin.
Does it make sense of what i am trying to achieve?

Are you sure you cannot use the choice parameter in the Project name field? I do. I pass in project and build number and use them this way:

To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f1a6015e-c748-48a0-b188-2b123c09fd50%40googlegroups.com.
I see. Nope, that field will take only one project name. Having spent all of 6 minutes thinking about this J you will have to accumulate all your artifacts in one place, perhaps on a share, and then use a shell command to copy the ones based on your extended choice values.
From: jenkins...@googlegroups.com [mailto:jenkins...@googlegroups.com]
On Behalf Of Bala murugan
Sent: Tuesday, March 17, 2015 10:35 AM
To: jenkins...@googlegroups.com
Subject: Re: How to make copy artifact plugin copy multiple artifact from jobs dynamically
@rginga
Are u selecting mutiple choices in the $(PROJECT_ARTIFACTS} variable.. that where i get the problem..
single choice is working fine. when is select mutiple choices the copy artifact steps fails..
On Tuesday, 17 March 2015 20:32:35 UTC+8, rginga wrote:
Are you sure you cannot use the choice parameter in the Project name field? I do. I pass in project and build number and use them this way:

To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5c543149-e691-475c-99db-fd7d62082f20%40googlegroups.com.