> -----Original Message----- > From: Jenkinsnewbie > Sent: Tuesday, January 13, 2015 13:21 > > I am not sure if Windows supports symlinks. > But the current requirement is to support at least Linux and > may be Windows. >
If you can run tar, then you can run cpio. We use cygwin for that on windows. > > On Tuesday, 13 January 2015 19:13:06 UTC+1, Jason Pyeron wrote: > > > -----Original Message----- > > From: Jenkinsnewbie > > Sent: Tuesday, January 13, 2015 13:10 > > > > Will "cpio -dum" work in Windows? > > With cygwin, how were you handling links before on 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/e15b2e19e394f5d631 > <https://github.com/jenkinsci/jenkins/commit/e15b2e19e394f5d631> > > 83f01a2e72a14115a0c370 > > > <https://github.com/jenkinsci/jenkins/commit/e15b2e19e394f5d63 > <https://github.com/jenkinsci/jenkins/commit/e15b2e19e394f5d63> > > 183f01a2e72a14115a0c370> i.e. taring the source and untaring > > at destination. But it sometimes fail at the slaves. > > > > > > > > Does anyone have a better solution? > > > > > > > > Thanks! > > -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100 - - +1 (443) 269-1555 x333 Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is copyright PD Inc, subject to license 20080407P00. -- 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/F8DCC81539D2427CA206070EC4B67EE2%40black. For more options, visit https://groups.google.com/d/optout.
