SonarQube:
Version: 7.9.1.27448
Developer Edition
Offline Distribution
Sonar Scanner Windows:
Version: 4.0.0.1744
Git Plugin:
Version: 1.8 (build 1574)
GitHub Authentication for SonarQube:
Version: 1.5 (build 870)
I am currently trying to automatically analyze pull requests in GitHub from my Jenkins environment. I have this mostly working, so far the following works correctly:
- Pull Request Analysis in SonarQube is automatically kicked off when a Pull Request is opened.
- Pull Request Analysis is successful and is uploaded to SonarQube
- SonarQube decorates the PR in the checks tab in GitHub.
- The links in the PR decoration link back to our SonarQube server.
The issue I am stuck on is that all of the images in the PR Decoration are broken links because they point to “localhost” instead of pointing to my server’s address. See below picture to see what I am seeing.
I have set the “Administration -> General -> Server base URL” to my server’s address and this is what resolved a similar issue I had with the links. It seems the images do not respect that setting though. Is there a setting I am missing?