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

Restarting (and likely loading) screen is missing assets if prefixed infront of proxy

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Similar Issues:
    • Released As:
      2.157

      Description

      When restarting a jenkins server (<jenkinsurl>/restart), the static assets (such as css/js) are not prefixed, so if jenkins is sitting behind a proxy server, the assets are not coming from the right place.

      This appears to work fine in standalone mode (java -jar war), but I'm not sure why.

       

      Looks like the jelly files reference resURL, but resURL is undefined for the restarting template.

        Attachments

          Activity

          Show
          cb_gavinmogan Gavin Mogan added a comment - https://github.com/jenkinsci/jenkins/pull/3793
          Hide
          danielbeck Daniel Beck added a comment -

          if jenkins is sitting infront of a proxy server

          Behind a proxy server?

          Show
          danielbeck Daniel Beck added a comment - if jenkins is sitting infront of a proxy server Behind a proxy server?
          Hide
          cb_gavinmogan Gavin Mogan added a comment -

          ... yes, if a proxy server is in front of it

          or it is behind a proxy server

           

          Silly gavin

          Show
          cb_gavinmogan Gavin Mogan added a comment - ... yes, if a proxy server is in front of it or it is behind a proxy server   Silly gavin
          Show
          cb_gavinmogan Gavin Mogan added a comment - https://github.com/jenkinsci/jenkins/blob/master/core/src/main/resources/hudson/util/HudsonIsLoading/index.jelly  is merged waiting for 1.157 weekly to roll out.

            People

            • Assignee:
              cb_gavinmogan Gavin Mogan
              Reporter:
              cb_gavinmogan Gavin Mogan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: