You can't use normal groovy api since it only works on master. Since you're already using unix slaves, just use a normal shell step will save you headaches.
On Wednesday, August 2, 2017 at 7:26:01 AM UTC-7, bbyjenkns wrote: > > We have a somewhat different use case where we have a bunch of common > config and build related files on NFS mount that need to be copied into > each build workspace. What I need to do is copy a directory out of this NFS > location and into workspaces as needed, a different directory per build > type. > > Ideally I do this in groovy so I can get better exception handling and not > be tied to OS specific commands, but everything I've tried is breaking, > included the groovy preferred AntBuilder.copy() method. > > How would you copy a directory of files from outside of a workspace into a > workspace? > -- 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/45baa381-3aa6-4c99-9da2-59ffd4488385%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
