Respect port number in url when opening a build
Selecting TeamCity, the config allows a port number in the url and successfully obtains build data, however, when I click on a build, I am taken to the link WITHOUT the port number. When I manually add the port number to the url BR generated, I see the correct page.
Need more information (see comment)
-
The commit fixes is for buildBot. Is this still happening for TeamCity ?
-
Brian K. commented
-
Brian K. commented
FYI, it's not just port numbers. I just installed BR on another machine at work that is on a different logical network. That network requires me to hit the TC server via a different url than my primary machine. Example...
TC is located at http://tchostname:1234
URL I am required to use http://some.domain.name.tchostname:1234
URL that is submitted when clicking on a build in BR http://tchostname
If BR were to use the url (with port) specified in the connection and then append the querystring to it, that should work fine.
-
Brian K. commented
Using your url as an example...
http://teamcity.codebetter.com/app/rest/buildTypes/id:bt130 does not work.
http://teamcity.codebetter.com:1234/app/rest/buildTypes/id:bt130 does.
If I simply add the port number to the url that BR opens in a new tab, I get the correct page. The query string is correct.
-
The URL is taken from response received from TeamCity without any modifications.
An example is http://teamcity.codebetter.com/app/rest/buildTypes/id:bt130
It's in the webUrl attribute or root element.
Is it correct if you use your server name and replace "bt130" with your project id ?