We have implemented SonarCloud in our organization, and I wanted to know if there is a way in the pipelines where I can scan to see if SonarCloud steps were implemented and block the pipeline from running, or just fail if the tasks are not there. Or maybe send a notification if SonarCloud is not implemented in pipeline.
If you’re using Azure DevOps, you might be able to take advantage of Azure DevOps REST API (to list and get pipeline data) in order to search for pipelines that don’t have the tasks you’re expecting.