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

confusing error when report directory is empty

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • htmlpublisher-plugin
    • None
    • Hudson 1.372
      HTML Publisher plugin 0.4

      If the report directory is empty, you will get a confusing error such as:


      ...
      [htmlpublisher] Archiving HTML reports...
      [htmlpublisher] Archiving at BUILD level
      /opt/hudson/jobs/sfitep/workspace/build/api to
      /opt/hudson/jobs/sfitep/builds/2010-08-18_09-49-08/htmlreports/API_Documentation
      ERROR: Directory '/opt/hudson/jobs/sfitep/workspace/build/api' exists
      but failed copying to
      '/opt/hudson/jobs/sfitep/builds/2010-08-18_09-49-08/htmlreports/API_Documentation'.
      ERROR: This is especially strange since your build otherwise succeeded.


      It would be great to give a very specific error that the report directory is empty, but probably still fail the build.

            r2b2_nz Richard Bywater
            caefer caefer
            Votes:
            5 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: