Wrong job URL when hudson not deployed in its default domain name

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Wrong job URL when hudson not deployed in its default domain name

Maxime Lemanissier
Hello,

I've deploy hudson locally at the current URL : http://127.0.0.1:8001/hudson-1.361 because i've got several versions of hudson running in the same tomcat instance.

When I hit http://127.0.0.1:8001/hudson-1.361/api/xml, I get jobs fragment like this :

<job>
<name>my_job</name>
<url>http://127.0.0.1:8001/hudson/job/my_job/</url>
<color>grey</color>
</job>

The correct url of the job is http://127.0.0.1:8001/hudson-1.361/job/my_job/, not http://127.0.0.1:8001/hudson/job/my_job/

Is there a way to handle the fact that hudson is not deploy in "hudson" domain, or do i have to run several instance of tomcat with all hudson in "hudson" domain ?