• 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.

          [JENKINS-10798] Directory structure is not being preserved

          Fabio Sobral created issue -
          Fabio Sobral made changes -
          Description Original: 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.
          New: 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.
          Romain Seguy made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Romain Seguy made changes -
          Assignee Original: Romain Seguy [ rseguy ] New: Daniel Petisme [ danielpetisme ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 141000 ] New: JNJira + In-Review [ 185380 ]

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

              Created:
              Updated: