Pull request decoration Gitlab refers to localhost instead of actual SonarQube address

SonarQube ID information
Server ID: 92D88F0A-AWpuCw3SFrkN1QzwS02A
Version: 8.4.1.35646 (DE)
Date: 2020-07-22

I was successfully able to integrate SonarQube pull request decoration into gitlab, but the comment generated by SQ refers to a localhost:9000 instead of the custom codequality.mycompany.com:9000 we have defined. See screenshot:

But SonarQube is hosted on separate domain:

Hi,

Welcome to the community!

localhost:9000 is the default SonarQube URL, so this is probably a missing configuration somewhere. Probably the Server Base URL, which you’ll find toward the bottom of the page when you go to Administration.

 
HTH,
Ann

Hi Ann,

Thanks, that fixed the problem! Works like a charm now.

Best,
Lex

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.