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

Jenkins behind rproxy generates wrong project urls when redirected

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
    • Environment:
      Client: Windows 7
      Server: Windows Server 2012 R2, ARR 3, Jenkins 2.27, java.runtime.version 1.8.0_66-b18
    • Similar Issues:

      Description

      Jenkins is behind rproxy. Config argument: --prefix=/jenkins
      http://build redirects to https://build/jenkins

      Links to project-urls are wrong:
      Sample: https://build/job/test/ instead of https://build/jenkins/job/test/

      It seems to be a client jscript issue. After clicking on Jenkins Homeurl (upper left corner), all links are correct.

        Attachments

          Issue Links

            Activity

            Hide
            ewilli Willi Ecker added a comment - - edited

            EDIT: Fixed hint, that this failure only happens in ie 11. Behavior is browser independent.

            Show
            ewilli Willi Ecker added a comment - - edited EDIT: Fixed hint, that this failure only happens in ie 11. Behavior is browser independent.
            Hide
            ewilli Willi Ecker added a comment -

            Fix issue by adding / to service jenkins.xml in windows environment:

            service::arguments .... --prefix=/jenkins*/*

             

            Show
            ewilli Willi Ecker added a comment - Fix issue by adding / to service jenkins.xml in windows environment: service::arguments .... --prefix=/jenkins* / *  

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              ewilli Willi Ecker
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: