Ø  Will "cpio -dum" work in Windows?

Pax is implemented natively on Windows, so use it by preference.  It will 
understand that it will need to follow symlinks on Windows, seeing as windows 
has no concept of symlinks.

Cpio and tar are also present in the Cygwin toolkit, so if you are using unix 
tools, install Cygwin.


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

Will "cpio -dum" work in Windows?

On Tuesday, 13 January 2015 18:35:39 UTC+1, John Mellor wrote:
“tar” functionality does not nicely handle links, and never has.  How about 
using “cpio –pdum” or “pax” to copy the directory?

From: [email protected]<javascript:> 
[mailto:[email protected]<javascript:>] On Behalf Of Jenkinsnewbie
Sent: January-13-15 11:33
To: [email protected]<javascript:>
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]<javascript:>.
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]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/fe1351f6-fef0-403d-9359-891f209fa67e%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/fe1351f6-fef0-403d-9359-891f209fa67e%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/db666cf4cbd14109b29aaa6c253ab8eb%40mbx01colo01p.esentire.local.
For more options, visit https://groups.google.com/d/optout.

Reply via email to