ALM - Bitbucket Cloud
CI - Bitbucket Cloud
Repo Language - JS (React), NOT TypeScript
Hello All,
I have a fully functional integration between Bitbucket Cloud and SonarCloud. We are using the pipe:
sonarsource/sonarcloud-scan:1.0.1
to access and configure sonarcloud (via the EXTRA_ARGS variable). However, I’ve been asked to surface the configurations we made in SonarCloud’s UI (as well as the arguments in EXTRA_ARGS). The best way to do this is apparently by using the sonar-project.properties file.
My question is, how do I create a basic sonar-project.properties file that is calibrated to be used with Bitbucket Cloud in a JS based repo that uses SonarCloud? I’ve already read the documentation available under SonarScanner that discusses sonar-project.properties, but it wasn’t enough.
I need a better understanding of this file:
How to configure it (which properties are mandatory, which optional)