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

    • Bug
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • core
    • None
    • 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

        Issue Links

          Activity

            cb_gavinmogan Dont Use added a comment - https://github.com/jenkinsci/jenkins/pull/3793
            danielbeck Daniel Beck added a comment -

            if jenkins is sitting infront of a proxy server

            Behind a proxy server?

            danielbeck Daniel Beck added a comment - if jenkins is sitting infront of a proxy server Behind a proxy server?
            cb_gavinmogan Dont Use added a comment -

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

            or it is behind a proxy server

             

            Silly gavin

            cb_gavinmogan Dont Use added a comment - ... yes, if a proxy server is in front of it or it is behind a proxy server   Silly gavin
            cb_gavinmogan Dont Use 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

              halkeye Gavin Mogan
              cb_gavinmogan Dont Use
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: