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

copy-to-slave-plugin unable to copy directories

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • copy-to-slave-plugin
    • None
    • Master: Linux, Slave Linux, Jenkins version 1.6.1.3, copy-to-slave-plugin 1.4.4

      Precondition: Buildscript results in single files and a directory with subdirectories

      Steps:
      1. add path to files and directories that in userContent that should be copied
      2. specify /* or /**/
      3. run job

      Actual result: directories are omitted as "cp" is used

      Expected result: directories are copied intact to target path

      ________________________________________
      Additional info:

      Line used in copy field:

      dir_1/dir_2/dir_3/*

      Path relative to $JENKINS_HOME/userContent
      ________________________________________

      • dir_3 contains all the buildfiles including a dirctory with 2 levels of subdirectories.
      • tryign also with dir_1/dir_2/dir_3/**/ e.g. and various other variations always ends up in: cp: omitting directory
      • With just a quick glance at the code on github I couldn't find anything similar to <fileset dir="${src.dir}" includes="**"/>
      • Is it currently even possible to also copy all directories in the specified path and keep their structures intact (I don't want anything flattened.)?

            svvivek Vivekanand SV
            fubsan fub san
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: