How to Enable sonarcloud for salesforce apex code analysis from Azure Devops

Hello Team,

We’re trying to build a CI/CD pipeline for Salesforce Apex code from Azure Devops, in that we’re trying to use sonarcloud job for code quality checks, Could you please kindly help us in how to enable apex language scanning from sonar cloud and relevant information on the same.

Thanks,
Ravindra.I

Hey there.

There’s nothing to enable – as long as the Apex files exist in the repo that you’re running the pipeline on, they should get analyzed!

If you haven’t found it already, the SonarCloud Extension for Azure DevOps is a great place to start.