On Bitbucket page only 1 sonarqube icon appears though there are 2 scans one mvn and second sonar-scanner against UI components on the same PR

This is the final solution I was able to adapt:

  1. Get 2 SonarQube icons on the Bitbucket page corresponding to 2 scans against the same project, one for mvn and second sonar-scanner against UI components
    Solution: I ended up combining it into a single scan, that scans both mvn at top level and Javascript/Typescript in the UI folder. Since the results are combined I do not need to worry about 2 icons and overwtiting.
  2. On clicking the SonarQube icon on Bitbucket page, a new window appears and the link from there to bitbucket is wrongly configured to localhost and port corresponding to internal docker network. How to fix that URL to point to sonarqube
    Solution: Ann’s suggestion worked out. I would start by checking SonarQube’s Server base URL (Administration → General Settings)
1 Like