Brian Murrell created JENKINS-14059:
---------------------------------------

             Summary: console output for parent of matrix job has absolute URLS
                 Key: JENKINS-14059
                 URL: https://issues.jenkins-ci.org/browse/JENKINS-14059
             Project: Jenkins
          Issue Type: Bug
          Components: matrix
    Affects Versions: current
         Environment: Jenkins ver. 1.462
            Reporter: Brian Murrell
            Priority: Minor


When looking at the console output for the parent job of a matrix job is has 
links to the child jobs.  i.e.:

{code}
Started by an SCM change
Building remotely on foo in workspace /var/lib/jenkins/workspace/test
Checkout:test / /var/lib/jenkins/workspace/test - 
hudson.remoting.Channel@2d172d60:foo
Using strategy: Default
Cloning the remote Git repository
Cloning repository origin
Fetching upstream changes from ssh://hudson@bar/private/test
Commencing build of Revision 6a234803887ea65ea470c9198c4da18f3460c416 
(origin/master)
Checking out Revision 6a234803887ea65ea470c9198c4da18f3460c416 (origin/master)
No change to record in branch origin/master
Triggering x86_64,el6-lab
Triggering x86_64,sles11-lab
Triggering x86_64,el5-lab
x86_64,el6-lab completed with result FAILURE
x86_64,sles11-lab completed with result FAILURE
x86_64,el5-lab completed with result FAILURE
Notifying upstream projects of job completion
Finished: FAILURE
{code}

The x86_64,{el{5,6},sles11}-lab strings are all URLs however they are absolute 
URLs complete with node name in them (i.e. 
http://jenkins.example.com:8080/job/test/arch=x86_64,distro=el6-lab/) rather 
than relative URLs (i.e. /job/test/arch=x86_64,distro=el6-lab/).

You can imagine the problems this causes for all sorts of use-cases like domain 
rewriting, proxying, etc.  It's just generally a bad idea to use absolute URLs 
when you are making a reference to the current namespace.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to