Template for a good new topic, formatted with Markdown:
- ALM used: Bitbucket
- CI system used: Circle CI
- Languages of the repository: JavaScript, TypeScript
Sonar doesn’t populate Pull Requests and branches on our Bitbucket project, using CircleCI.
It doesn’t show any short-lived branches, and also doesn’t show our branch named develop
.
The whole project seems stale, even with correct configuration.
Seems like an issue very similar to Sonar Analysis Branch is not populating in sonar Cloud
I’m using CircleCI Developer Hub - sonarsource/sonarcloud on CircleCI, which shows these logs:
INFO: Analysis report generated in 5102ms, dir size=12 MB
INFO: Analysis report compressed in 3012ms, zip size=7 MB
INFO: Analysis report uploaded in 14734ms
INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=XYZ&branch=dev&resolved=false
INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
INFO: More about the report processing at https://sonarcloud.io/api/ce/task?id=XYZ
INFO: Time spent writing ucfgs 4988ms
INFO: Analysis total time: 5:33.701 s
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 5:41.483s
INFO: Final Memory: 384M/1297M
INFO: ------------------------------------------------------------------------
(I have replaced the real ids in order to protect my privacy, I could share them in a private call)
I double-checked sonar.projectKey
and sonar.organization
, they are correct.