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

Matrix-Build Console Links to Hudson instead of Jenkins

    Details

      Description

      I have configured a Matrix-Build using multiple slave nodes. The parent console output contains the following:
      Löse OS11.4-64 aus
      OS11.4-64 beendet mit Ergebnis SUCCESS
      Löse OS11.1-32 aus
      OS11.1-32 beendet mit Ergebnis SUCCESS
      Finished: SUCCESS

      The Labels OSS11.4-64 and OS11.1-32 are links, but instead of pointing to http://<myserver>/jenkins/job/<myjob>/label=OS11.4-64/ they link to http://<myserver>/hudson/job/<myjob>/label=OS11.4-64/

      Even better would be a direct link to the corresponding console log:http://<myserver>/jenkins/job/<myjob>/6/label=OS11.1-32/console

        Activity

        Hide
        sgayda2 Stoyan Gaydarov added a comment -

        I am also seeing a similar issue, where my console links point to localhost:8080/foo instead of the correct 192.168.1.100:8080/foo. If i click on the build status bubble in the matrix then it works fine but when i click on the console link it completely ignores the current context of the page and just tries to use localhost

        Show
        sgayda2 Stoyan Gaydarov added a comment - I am also seeing a similar issue, where my console links point to localhost:8080/foo instead of the correct 192.168.1.100:8080/foo. If i click on the build status bubble in the matrix then it works fine but when i click on the console link it completely ignores the current context of the page and just tries to use localhost
        Hide
        alexlehm Alex Lehmann added a comment -

        stoyan: are you using a reverse proxy for jenkins? if you are seeing links to the tomcat url, take a look at the wiki page about reverse proxy (https://wiki.jenkins-ci.org/display/JENKINS/Running+Jenkins+behind+Apache)

        Show
        alexlehm Alex Lehmann added a comment - stoyan: are you using a reverse proxy for jenkins? if you are seeing links to the tomcat url, take a look at the wiki page about reverse proxy ( https://wiki.jenkins-ci.org/display/JENKINS/Running+Jenkins+behind+Apache )
        Hide
        sgayda2 Stoyan Gaydarov added a comment -

        I am not running a reverse proxy as far as I know, this is just on a mac mini on my home network. Using the default configuration and running version "Jenkins ver. 1.450" also would this be more appropriate over email?

        Show
        sgayda2 Stoyan Gaydarov added a comment - I am not running a reverse proxy as far as I know, this is just on a mac mini on my home network. Using the default configuration and running version "Jenkins ver. 1.450" also would this be more appropriate over email?
        Hide
        alexlehm Alex Lehmann added a comment -

        getting back to the original question, are you sure you have the correct url set on the config page?

        Show
        alexlehm Alex Lehmann added a comment - getting back to the original question, are you sure you have the correct url set on the config page?
        Hide
        schaarda Daniel Schaarschmidt added a comment -

        You're right, I missed that one during migration from Hudson. What puzzled me was, that most of the links work but not all.
        Nevertheless, problem solved, thanks.

        Show
        schaarda Daniel Schaarschmidt added a comment - You're right, I missed that one during migration from Hudson. What puzzled me was, that most of the links work but not all. Nevertheless, problem solved, thanks.
        Hide
        alexlehm Alex Lehmann added a comment -

        some links are created based on the request, some use the base url if it is present (there are two methods in the Jenkins class to get a base url)

        Show
        alexlehm Alex Lehmann added a comment - some links are created based on the request, some use the base url if it is present (there are two methods in the Jenkins class to get a base url)

          People

          • Assignee:
            Unassigned
            Reporter:
            schaarda Daniel Schaarschmidt
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: