I see. Nope, that field will take only one project name. Having spent all of 6 minutes thinking about this ☺ 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: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Bala murugan Sent: Tuesday, March 17, 2015 10:35 AM To: jenkinsci-users@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: [Image removed by sender.] From: jenkins...@googlegroups.com<javascript:> [mailto:jenkins...@googlegroups.com<javascript:>] On Behalf Of Bala murugan Sent: Monday, March 16, 2015 11:45 PM To: jenkins...@googlegroups.com<javascript:> Subject: Re: How to make copy artifact plugin copy multiple artifact from jobs dynamically 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? Cheers On Tuesday, 17 March 2015 10:13:57 UTC+8, Richard Bywater wrote: What drives the number of artifacts that need copying? (That is, how is the job going to work out the artifacts that are required to be copied) Richard On Tue, Mar 17, 2015 at 3:03 PM, Bala murugan <sayt...@gmail.com> wrote: Hi all, Yes i can add multiple copy_artifacts steps.. But for me, the number of artifacts i need to copy changes everytime, I am thinking a way to avoid changing the job to add and delete the copy_artifacts steps everytime. Is there a way to do it? Cheers Bala On Monday, 16 March 2015 11:17:53 UTC+8, Bala murugan wrote: Hi All, In jenkins, I have a situation, where i need to copy artifacts from multiple jobs and each time the number of jobs changes. Is there a way to use copy artifact plugin to copy from multiple workspaces which can be configurable..? Appreciate your help. Thanks Bala -- 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<https://groups.google.com/d/msgid/jenkinsci-users/b52cfa21-9fe7-4c71-b677-738e382d34c3%40googlegroups.com?utm_medium=email&utm_source=footer>. 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 jenkinsci-use...@googlegroups.com<javascript:>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f1a6015e-c748-48a0-b188-2b123c09fd50%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/f1a6015e-c748-48a0-b188-2b123c09fd50%40googlegroups.com?utm_medium=email&utm_source=footer>. 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 jenkinsci-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5c543149-e691-475c-99db-fd7d62082f20%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/5c543149-e691-475c-99db-fd7d62082f20%40googlegroups.com?utm_medium=email&utm_source=footer>. 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E26E50F141%40AMERMBX02.PERKINELMER.NET. For more options, visit https://groups.google.com/d/optout.