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

Copying files that are outside the workspace dir to a slave does not work

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • copy-to-slave-plugin
    • None
    • Windows

      Only files that are directly located in the workspace folder of a project on the master
      can be copied to a slave's workspace. Specifying relative and absolute paths in the configuration
      text field has no effect (e.g. "../build.xml").
      The workspace folder also has to be created manually, which is not intuitive.

      Several people have reported the same issue on the Copy-To-Slave Plugin wiki page (http://wiki.jenkins-ci.org/display/JENKINS/Copy+To+Slave+Plugin).

      The reason for this behavior seems to lie in the FilePath.copyRecursiveTo() method. So this might rather be a core issue.

          [JENKINS-7021] Copying files that are outside the workspace dir to a slave does not work

          fredg02 created issue -
          Romain Seguy made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Romain Seguy made changes -
          Fix Version/s New: current [ 10162 ]
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          Romain Seguy made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 137118 ] New: JNJira + In-Review [ 204386 ]

            rseguy Romain Seguy
            fredg02 fredg02
            Votes:
            5 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: