Support for Integrating Sonarqube with our Salesforce Pipeline

Hi Sonarqube ,

We are currently exploring the integration of SonarQube with our Salesforce deployment pipelines to generate code coverage reports. However, we would like to use SonarQube exclusively for code coverage and not for code scanning, as we are already using PMD for code scanning, which we find more suitable for Salesforce code.
Our specific requirement is for SonarQube to generate a code coverage report based on an existing code coverage file (XML) from Salesforce, without performing any code scanning.
Any help would be appreciated .

Hi,

Welcome to the community!

I know I’m biased, but what you’ve said sounds a lot to me like

I’ve hired a personal chef, but I don’t want her to do any cooking. I just want her to plate my microwave dinners.

From our perspective, "code scanning* is the reason to run analysis, and displaying coverage is an extra. Analysis is going to run automatically. However, if this is something you feel you really must have, then create an empty Quality Profile and assign it to your project. (You won’t be able to set an empty profile as the default, so you’ll have to manually associate it with each relevant project.)

 
HTH,
Ann