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

Downstream job build links are broken when jenkins is not hosted on the root context

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • multijob-plugin
    • None
    • Server 2008, Jenkins 1.474, Muli-Job plugin 1.4

      We host jenkins with a /jenkins context on our site and do not use root. When selecting a build from the multijob build screen on an old build (not currently running) and then select the downstream build # link you are redirected to the root context and does not retain the current context.

      Example:
      http://localhost/jenkins/job/MultiJob1/1 – > click downstream Test build #1 link --> redirected to http://localhost/job/Test/1

          [JENKINS-14952] Downstream job build links are broken when jenkins is not hosted on the root context

          Doron Shai added a comment -

          Doron Shai added a comment - Same issue as https://issues.jenkins-ci.org/browse/JENKINS-14955 and https://issues.jenkins-ci.org/browse/JENKINS-15965

          Since I've fixed the 2 issues mentioned in the above comment - can someone check if this is fixed once muttijob 1.8 is released?

          Yoram Michaeli added a comment - Since I've fixed the 2 issues mentioned in the above comment - can someone check if this is fixed once muttijob 1.8 is released?

          Steven Wagner added a comment -

          Hi there,

          I can confirm that I see this behavior using version 1.8 of the plugin. I upgraded from version 1.6, so I suspect this is a relatively recent regression...

          Steven Wagner added a comment - Hi there, I can confirm that I see this behavior using version 1.8 of the plugin. I upgraded from version 1.6, so I suspect this is a relatively recent regression...

          see comment at https://issues.jenkins-ci.org/browse/JENKINS-14955 for the missing change.

          Björn Pedersen added a comment - see comment at https://issues.jenkins-ci.org/browse/JENKINS-14955 for the missing change.

          Jake Goulding added a comment -

          This is still broken in 1.9.

          The link is
          https://example.com/job/my-sub-job/6/

          But it should be
          https://example.com/automan/job/my-sub-job/6/

          Jake Goulding added a comment - This is still broken in 1.9. The link is https://example.com/job/my-sub-job/6/ But it should be https://example.com/automan/job/my-sub-job/6/

          Jake Goulding added a comment -

          Interestingly, the build link in the console output is correct; only the link on the build information page (https://example.com/automan/job/my-master-job/15/) is incorrect.

          Jake Goulding added a comment - Interestingly, the build link in the console output is correct; only the link on the build information page ( https://example.com/automan/job/my-master-job/15/ ) is incorrect.

          Jake Goulding added a comment -

          So, this was fixed in 8a527f2d9258bd79ee10c6875e3ee5a04319e8cd on 2013-04-24. Any chance we could see a release soon?

          Jake Goulding added a comment - So, this was fixed in 8a527f2d9258bd79ee10c6875e3ee5a04319e8cd on 2013-04-24. Any chance we could see a release soon?

          Daniel Beck added a comment -

          Seems to be fixed in 1.10.

          Daniel Beck added a comment - Seems to be fixed in 1.10.

            Unassigned Unassigned
            meyers79 Matthew Meyers
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: