Pull request decorated with link to localhost

Hi,

i setup TFS pull request decoration with SonarQube analysis as per documentation. This works well except one thing - all the links in pullrequest added by analysis are pointing to localhost (e.g. http://127.0.0.1:9000/project/issues?id=TSU_C360&pullRequest=2008&issues=AWbpRxBsZmgFyKYpl1Hb&open=AWbpRxBsZmgFyKYpl1Hb).
This is strange as we have SQ deployed on separate server…

What can I do about it?
Thanks for any help
Lubos

2 Likes

Hi Lubos,

What is your Server base URL (Administration > Server base URL) set to?

 
Ann

:slight_smile: ok. this is it. Thanks!

it may be worth updating documentation for PR decoration - or did I overlooked?

Hi,

Good point. I’ve added it, and it will show up when the docs are published for 7.5.

 
Ann

I didn’t see this in the documentation either and the location of the setting was not obvious to me, for anyone else looking for this answer, the setting in question is located here:
Administration->Configuration->General Settings->General->Server base URL

4 Likes

A post was split to a new topic: Analysis are stuck forever