Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-10798

Directory structure is not being preserved

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • copy-to-slave-plugin
    • None
    • Master: Windows 7, Jenkins 1.425, copy-to-slave 1.3
      Slave: Linux Ubuntu 8.1.0

      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:

      • workspace
        • folder1
          • folderA
            • fileA
          • fileB
        • folder2
          • fileC
        • fileD

      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:

      • workspace
        • job_name
          • folder1/folderA/fileA
          • folder1/fileB
          • folder2/fileC

      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.

            danielpetisme Daniel Petisme
            flsobral Fabio Sobral
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: