Directory structure is not being preserved, the files are being created with their original path prepended to the file name, for instance:
File structure on master node:
Files to copy: folder1, folder2 (or "folder1/*, folder2/", "/folder1/, /folder2/*", etc. All had the same result)
Paths are relative to: This job's workspace on the master (not advised)
No excluded files, flatten directories and ant default excludes both unchecked.
File structure on slave node:
I'm also using this plugin http://wiki.jenkins-ci.org/display/JENKINS/Clone+Workspace+SCM+Plugin with this job, not sure if this is causing this issue.
PS: This is my first time opening an issue, and I was not sure if I should mark this issue as blocker or major.