Hi,
I’m looking forward to having integration between SonarCloud and Bitbucket Cloud. I know that there’s MMF-1126 to deliver exactly what I’m after. What I’d like to ask is when I could expect to be able to use some of the developed features? All sub-issues in MMF-1126 have been done/closed, but MMF-1126 is still in progress. Does anyone know the timeline or what are the next steps for it?
Hello,
You can already use the developed features, the SonarCloud application for Bitbucket Cloud is available there: https://bitbucket.org/account/addon-directory?addon=sonarcloud
The MMF-1126 is still in progress because there is all the part about having better team onboarding that is not done yet.
We are planning to integrate “bitbucket” with “sonarcloud” using bitbucket pipelines. Here are the things done for the integration, but looks like some config is missing and the integration is breaking.
Create an account in sonarcloud.io, with bitbucket login.
Go through the process of creation of new project in sonarcloud.io and obtain a token to be used.
Configure the token in the bitbucket pipelines as env variable, SONAR_TOKEN.
Now this is how the build is run from bitbucket pipeline.
When the build runs its giving me the below error, not
====
Could not fetch Bitbucket branch info: Insufficient privileges
:sonarqube FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':sonarqube'.
> You're only authorized to execute a local (preview) SonarQube analysis without pushing the results to the SonarQube server. Please contact your SonarQube administrator.
===
Is there any other authorization configuration required?
When trying to configure the SonarCloud plugin in BitBucket (from the repo > Settings > SonarCloud > Settings), I get the message, “Add-on SonarCloud is not responding”.