Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 324695 - [build][hudson] Opening a job in browser wrongly appends 'hudson' the the base url
Summary: [build][hudson] Opening a job in browser wrongly appends 'hudson' the the bas...
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Mylyn Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-07 16:23 EDT by Robert Munteanu CLA
Modified: 2011-02-17 22:55 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Munteanu CLA 2010-09-07 16:23:37 EDT
Although my hudson URl is set to https://dev.example.ro/ , when opening a job in the browser the URL is https://dev.xxx.ro/hudson/job/jobName/ , rather than  https://dev.xxx.ro/job/jobName/.
Comment 1 Steffen Pingel CLA 2010-09-11 17:23:32 EDT
That is odd. The code in HusdonServerBehavior uses the URL that is returned by the server. Can you check the output of the remote API by appending /api/xml?depth=1 to the base URL? Which version of Hudson are you using?
Comment 2 Robert Munteanu CLA 2010-09-12 15:30:33 EDT
I am using Hudson 1.376 and the wrong URL is present in the /api/xml output, which is the most likely culprit for my problem. Feel free to close this report.
Comment 3 Steffen Pingel CLA 2010-09-12 19:06:43 EDT
Thanks Robert. Please feel free to reopen if it turns out to be a problem with the connector. In case you find a solution it would be great if you could post here.