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

Should trim space from directory entry on HTML publisher

    Details

    • Similar Issues:
    • Released As:
      1.15

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              r2b2_nz Richard Bywater
              Reporter:
              kewob Karl Brown
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: