JenkinsUrl doesn't work properly

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      I am using Jenkins over HTTPS/SSL. I can navigate to https://jenkins.mydomain.com without any problems. All links are correct with https:// in front of them. I can properly navigate through almost all Jenkins pages
      Except when Jenkins tries to redirect (e.g after login, after clicking Build, etc). Whenever Jenkins tries to redirect to any page, it sends me to http:// page (not httpS://)

      In the Code
      I've seen many calls to FormApply.success, that doesnot use JenkinsUrl. and they send a relative path to stapler framework.
      Acording to the StaplerResponse implementation, it completes the URL with (unwanted) request information (line 131):
      https://github.com/stapler/stapler/blob/c290e61aa8d053b45091051d3ed91694cda5112d/core/src/main/java/org/kohsuke/stapler/ResponseImpl.java

      Similar problem was describe here: http://stackoverflow.com/questions/23703523/jenkins-does-not-redirect-to-https

      Thank you.

            Assignee:
            Unassigned
            Reporter:
            David Perez
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: