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

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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None
    • 2.157

      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.

          [JENKINS-55062] Restarting (and likely loading) screen is missing assets if prefixed infront of proxy

          Dont Use created issue -
          Dont Use made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Dont Use made changes -
          Description Original: When restarting a jenkins server (<jenkinsurl>/restart), the static assets (such as css/js) are not prefixed, so if jenkins is sitting infront of 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.
          New: 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.
          Dont Use made changes -
          Released As New: 2.157
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          Gavin Mogan made changes -
          Link New: This issue is duplicated by JENKINS-52008 [ JENKINS-52008 ]
          Gavin Mogan made changes -
          Assignee Original: Dont Use [ cb_gavinmogan ] New: Gavin Mogan [ halkeye ]

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

              Created:
              Updated:
              Resolved: