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

          Issue Links

            Activity

            cb_gavinmogan Dont Use created issue -
            cb_gavinmogan Dont Use made changes -
            Field Original Value New Value
            Status Open [ 1 ] In Progress [ 3 ]
            cb_gavinmogan Dont Use made changes -
            Description 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.
            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.
            cb_gavinmogan Dont Use made changes -
            Released As 2.157
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            halkeye Gavin Mogan made changes -
            Link This issue is duplicated by JENKINS-52008 [ JENKINS-52008 ]
            halkeye Gavin Mogan made changes -
            Assignee Dont Use [ cb_gavinmogan ] Gavin Mogan [ halkeye ]

              People

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

                Dates

                Created:
                Updated:
                Resolved: