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

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: