“tar” functionality does not nicely handle links, and never has.  How about 
using “cpio –pdum” or “pax” to copy the directory?

From: [email protected] 
[mailto:[email protected]] On Behalf Of Jenkinsnewbie
Sent: January-13-15 11:33
To: [email protected]
Subject: Efficient way to copy artifacts(with symlinks) across workspace

I have a very specific issue. Problem is: I need to copy artifacts from one 
directory in workspace to another. some of the artifacts  contain symlinks. I 
use the solution as provided in: 
https://github.com/jenkinsci/jenkins/commit/e15b2e19e394f5d63183f01a2e72a14115a0c370
 i.e. taring the source and untaring at destination. But it sometimes fail at 
the slaves.

Does anyone have a better solution?

Thanks!
--
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]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/48986b25-2c9b-48dd-a588-d1c9a66ff6bd%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/48986b25-2c9b-48dd-a588-d1c9a66ff6bd%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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/da5699cf06c54b8e80271833b6dbb72c%40mbx01colo01p.esentire.local.
For more options, visit https://groups.google.com/d/optout.

Reply via email to