We officially support the following build servers for doing Sonar-based core reviews with Bitbucket Server:
When using other build servers, you just need to make sure that Sonar's
-Dsonar.branch=branchname property is set accordingly for the pull request branches in your build in order to create separate Sonar projects for them.
Info for users of SonarQube versions < 5.0
When using other build servers than Bamboo or Jenkins with SonarQube < 5.0, you also need to make sure to replace illegal branch name characters like '/' as Sonar does not support them. Sonar only allows alphanumeric, '-', '_' and '.' characters in its project keys. Note that this work is done automatically for you when you are using Bamboo together with Sonar for Bamboo.