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

Plug-in doesn't retain directories when copy files using "Other files to copy" setting

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • robot-plugin
    • None

      I'm trying to copy additional files which are targets for hyper links in robot report file using setting "Other files to copy".

      Source files layout is following:

      log.html
      output.xml
      report.html
      addition/file1.html
      addition/subdir/file2.html
      

      "Other files to copy" set to

      addition/**/*.html

      Actual result:
      robot report files and files from addition dir copied to lastSuccessful/robot-plugin without subdirs like this:

      lastSuccessful/robot-plugin/log.html
      lastSuccessful/robot-plugin/output.xml
      lastSuccessful/robot-plugin/report.html
      lastSuccessful/robot-plugin/file1.html
      lastSuccessful/robot-plugin/file2.html
      

      this cause broken relative links from report.html to file1.html and file2.html when report.html is browsed from jenkins web-interface.

      Expected result:
      robot report files and files from addition dir copied to lastSuccessful/robot-plugin with subdirs like this:

      lastSuccessful/robot-plugin/log.html
      lastSuccessful/robot-plugin/output.xml
      lastSuccessful/robot-plugin/report.html
      lastSuccessful/robot-plugin/addition/file1.html
      lastSuccessful/robot-plugin/addition/subdir/file2.html
      

      I hope I just missed some configuration option or known workaround for this issue.
      I believe it is usual to have additional artifacts linked from report.html not only in the same directory.

            jpiironen jpiironen
            ekon Eugene Konkov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: