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

Hudson automatically adds forward-slash to end of sidebar link

    • 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

          [JENKINS-4720] Hudson automatically adds forward-slash to end of sidebar link

          cb372 created issue -
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Andrew Bayer made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 134793 ] New: JNJira + In-Review [ 203069 ]

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

              Created:
              Updated:
              Resolved: