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

Hudson automatically adds forward-slash to end of sidebar link

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Platform: All, OS: All

      Using the sidebar link plugin, I added links to EMMA coverage reports of the form:

      http://myserver:8081/job/MyJob/ws/emma/coverage/coverage.html

      But the link automatically gets a forward-slash appended to it, becoming:

      http://myserver:8081/job/MyJob/ws/emma/coverage/coverage.html/

      This causes all relative links on the coverage report to become invalid and
      return 404.

      E.g. a link to "_files/4.html" will be translated to

      http://myserver:8081/job/MyJob/ws/emma/coverage/coverage.html/_files/4.html

      when it should be

      http://myserver:8081/job/MyJob/ws/emma/coverage/_files/4.html

            mindless Alan Harder
            cb372 cb372
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: