We use the Sonar for Bitbucket Server version 2.7.3 in our bitbucket server.There if I am correct the sonar.projectkey is used to access the sonarqube project. And theprojectkey is generated by using the branch name, which contains a slash as a delemiter of branch type and branch name. Now in SonarQube Server 7.9.4 (also in 8.4) the slash is not allowed to use in a projectkey.
Is there any way to replace the slash in this plugin by changing a configuration? Or is there an update planned for this behavior?
We use Bitbucket v6.10.5 so i can not install the latest version of the plugin which is only compatible with v7.x of bitbucket
Yes, there is a possibility by replacing the now invalid characters like "/" with allowed characters when analyzing your projects with SonarQube, e.g. instead of
you now have to use
Sonar for Bamboo and Sonar for Bitbucket support this and make it transparent by using the feature "Replacement for illegal branch characters" which is also supported by app version 2.7.3.
Does that help you?
Michael (app vendor)
Hi @Michael Rüegg _Mibex Software_, thanks for the response. can you show me how it works, as I understand this field as the replacement character not as the characters which should be replaced. If I add the slash to the field I get an error message:
@Jens MüllerYou're very welcome. In that field you are expected to enter the character which you want to replace the illegal characters with. For the example given above, this would be "_". We will need to update the description as it is now necessary again with the most recent SQ versions (not only for SQ < 5).
Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events