SonarQube Version 7.2 (build 13530) Developer Edition
All our analysis results from the Sonar Scanner plugin for Bamboo are placed on the same branch in Sonar. Checking the “Scanner Context” for each analysis in “Background Tasks” for the project shows me that the branch properties are being set:
- sonar.branch.longLivedBranches.regex=(develop|staging) - sonar.branch.name=implementation/MCS-5521_SonarQubeIntegration - sonar.branch.target=release/0.65
But no other branches than
master is created, and all results are merged in this one branch.
The build logs are reporting
I thought at first that the issue was that
target did not exist, but I get the same result when no value is set for
I cannot see that there is any way to manually create branches in the SonarQube web interface.
I have not tried much else, as I’m honestly not sure what to try.
With all results in one branch, the result history will be a mess, and we will not get any useful input to Pull-Requests in Bitbucket.