microsoft / azuredevopslabs

Learn how you can plan smartly, collaborate better, and ship faster with a set of modern development services with Azure DevOps.
https://www.azuredevopslabs.com
MIT License
826 stars 920 forks source link

PR Comments generated by SonarCloud? #521

Closed JamesEarle closed 2 years ago

JamesEarle commented 3 years ago

Working through this tutorial I can see that it's possible to get SonarCloud generated comments in your pull requests. I'm not getting this behaviour, do you know that this is specific to msbuild and .NET projects? I hypothesize that because we use a standalone scanner in our SonarCloud analysis it may be different.

Link to tutorial

image

@peeter-piegaze-sonarsource or @duncanp-sonar it looks like you are contributors for this part of the document, do you have any idea?

duncanp-sonar commented 3 years ago

@JamesEarle the SonarSource community forum is the best place to ask for help. I believe PR commenting should work for all supported languages. However, if you are analysing C# or VB.NET code you need to use the SonarScanner for .NET for any type of analysis (i.e. "normal" CI analysis or PR analysis).

JamesEarle commented 3 years ago

Thanks @duncanp-sonar I will look there. The code is Python actually so we want to use the standalone scanner, if I understand correctly