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

Empty folders are not copied to the slave

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • slave-setup-plugin
    • None
    • Slave-Setup-Plugin 1.6; Jenkins 1.537; Linux; JBoss 7.1

      When copying files to the slaves the slave-setup-plugin misses directories that do not contain ordinary files.

      The reason seems to be that the plugin uses the copyRecursiveTo method of the FilePath class to copy the files (Line 92 in SetupDeployer). The implementation of this method only acts upon files and then creates parent directories (Line 1895-1900 of FilePath). This results in creating only directories that contain directly or indirectly files.

            Unassigned Unassigned
            cfrommeyer Christian Frommeyer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: