If you are using the Copy Artifact build step in your downstream project then 
you can select Flatten Directories:

Select "Flatten directories" to ignore the directory structure of the artifacts 
in the source project and copy all matching artifacts directly into the 
specified target directory. By default the artifacts are copied in the same 
directory structure as the source project.


From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Eric Wood
Sent: Friday, December 19, 2014 10:54 AM
To: Jenkinsci-users
Subject: Copy artifact to a new location when pulled from an upstream jo b

I have an upstream job that is archiving an artifact.  The artifact resides in 
a subfolder under the workspace.  I'd like to be able to have the artifact at 
the root of my workspace in my downstream job when I copy it from the upstream 
job.  Is there a way to move this asset to a new location without having to 
code it in something like ANT?
--
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/293594395.787483.1419004433935.JavaMail.yahoo%40jws100162.mail.ne1.yahoo.com<https://groups.google.com/d/msgid/jenkinsci-users/293594395.787483.1419004433935.JavaMail.yahoo%40jws100162.mail.ne1.yahoo.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/6C6EE445A6F6CE4E8A0FFB51B071A4E26E4DA182%40AMERMBX02.PERKINELMER.NET.
For more options, visit https://groups.google.com/d/optout.

Reply via email to