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

    • Bug
    • Status: Closed (View Workflow)
    • Trivial
    • Resolution: Fixed
    • gerrit-trigger-plugin
    • None
    • Hudson 1.366 (running on Apache Tomcat 5.5)
      Gerrit-Trigger 2.0

    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

          People

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

            Dates

              Created:
              Updated:
              Resolved: