We really need the ability to use a REST api to configure new BitBucket code repos. Specifically, the settings for the "Sonar" plugin requires editing fields on several tabs. It's very tedious (and more importantly, error-prone) for admins to step through all of those fields according to a script and set them all properly.
As far as I can tell, there is no way to do this with the REST api. I've searched through the REST api documentation, and even posted a question on StackOverflow (no response).
Is there any viable strategy for this?
Actually, I realized that we can set properties in the project and set the Sonar configuration in each repo to inherit from the project. We have a very small number of projects, with a large number of repositories in each project.
Is there a similar feature for Bitbucket Cloud? We are looking to integrate sonarqube analysis and bitbucket cloud so that reviewers can see the analysis of the build in the context of the PR.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Have you checked our REST API for repository settings setup?
https://mibexsoftware.github.io/sonar-bitbucket-server-rest-api/
Please let me know if you miss something.
Best regards,
Michael (app vendor)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.