Should trim space from directory entry on HTML publisher

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • 1.15

      I was getting this error after installing the HTML Publisher:

      [htmlpublisher] Archiving HTML reports...
      [htmlpublisher] Archiving at PROJECT level
      /var/lib/jenkins/workspace/simplesimple/reports/html/ to /var/lib/jenkins/jobs/simplesimple/htmlreports/HTML_Report
      ERROR: Specified HTML directory '/var/lib/jenkins/workspace/simplesimple/reports/html/ ' does not exist.
      Build step 'Publish HTML reports' changed build result to FAILURE

      The problem was, I had an additional space character at the end of my directory entry, which wasn't obvious from the interface.

      It would be great to update this to trim leading/trailing whitespace from directory names.

            Assignee:
            Richard Bywater
            Reporter:
            Karl Brown
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: