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

Context Path Missing from Reload link

XMLWordPrintable

      When adding a context path to a Jenkins instance, and the "Reload" links are clicked, 404 errors occur. Hovering over the Reload link reveals the context path is missing from the link.

      For example if the rootURL for our jenkins instance is
      "localhost:8080/JENKINS", the plugin will render the Reload link as
      "localhost:8080/plugin/scm-sync-configuration/reloadAllFilesFromScm"
      instead of
      "localhost:8080/JENKINS/plugin/scm-sync-configuration/reloadAllFilesFromScm"

      Examining the plugins' config.jelly and reload.jelly files indicate the problem may be the rootURL is being referred as "rootUrl" (note the capitalization).

      After changing these jelly files and manually testing the links using various Jenkins versions (with and without context paths), the links rendered successfully using correct context path.

            fcamblor Frédéric Camblor
            kiana kiana tennyson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: