Equivalent of Publish Quality Gate Result for sonarscanner CLI

I’m currently running the sonarscanner tool directly within my agent to scan a C# project that I’m working on. This happens within an Azure DevOps pipeline.

If I use the CI/CD integration I know that I can use the “Publish Quality Gate Result” task to get the PR decoration in a pull request within Azure Devops. Would it be possible to have the equivalent step be called from within the sonarscanner CLI?


Welcome to the community!

You can do it, but it won’t be quite as smooth. Take a look at webhooks.


1 Like

Looks like the way to go. Thanks!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.