I am testing SonarCloud on a Java project. The codebase is stored on GitHub and given the size of the project, I am manually running the analysis using
mvn sonar:sonar on CircleCI and my local machine.
The analysis work fine, PRs are correctly detected in SonarCloud but I don’t see the PR being enriched.
I checked my project configuration: in “Administration > General Settings”, the github integration is enabled, and has been by default on the project creation.
I read this other question. It seems that enabling this feature post-creation is not working, but I don’t know if I am in the same case. Would there be a way to check this?
If I had to delete and recreate my project, I prefer doing it as early as possible.
Commands executed to analyse a pull request
mvn sonar:sonar \ -Dsonar.host.url=https://sonarcloud.io -Dsonar.pullrequest.provider=GitHub -Dsonar.pullrequest.gihtub.repository=activeviam/activepivot -Dsonar.pullrequest.base=main \ -Dsonar.pullrequest.branch=pr/tested-branch \ -Dsonar.pullrequest.key=5204 # And other information about the sonar organization, project name, project key, etc