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

Images and help don't load when Hudson isn't running on the root URL

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Trivial
    • Resolution: Fixed
    • Component/s: gerrit-trigger-plugin
    • Labels:
      None
    • Environment:
      Hudson 1.366 (running on Apache Tomcat 5.5)
      Gerrit-Trigger 2.0
    • Similar Issues:

      Description

      I've got Hudson running at http://xxx/hudson/. The help files on the config page and icon16.png on the project page are trying to load from http://xxx/plugin/gerrit-trigger/* instead of http://xxx/hudson/plugin/gerrit-trigger/*

      I suspect this has to do with how the help files and icon are referenced in the jelly script. For example, badge.jelly has the following line:

      <img src="${rootUrl}/plugin/gerrit-trigger/images/icon16.png" border="0"/>

      I believe this can be fixed by omitting "${rootUrl}", but I can't build the project to test it myself.

        Attachments

          Activity

          Hide
          rsandell rsandell added a comment -

          Pushed to master @ http://github.com/hudson/gerrit-trigger-plugin commit: 1757046aba04228b61df
          Included in 2.1.0 release.

          Show
          rsandell rsandell added a comment - Pushed to master @ http://github.com/hudson/gerrit-trigger-plugin commit: 1757046aba04228b61df Included in 2.1.0 release.

            People

            • Assignee:
              rsandell rsandell
              Reporter:
              jeremydavidson jeremydavidson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: