Must-share information (formatted with Markdown):
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
Sonarqube 8.6.1
Azure DevOps Server
Sonarqube Tasks in Azure DevOps (v4) https://marketplace.visualstudio.com/items? itemName=SonarSource.sonarqube
We enabled Pull Request Decoration under project settings along with ALM configuration for our github repo.
When using Azure DevOps tasks (SonarQube Prepare and Analyse), as part of analyse task the expectation is to send a PR comment to respective branch but it is not happening
I see the below line in the log but nothing else:
2021.06.15 16:34:11 INFO ce[AXoQhdgtcodXl1IWAGtu][o.s.c.t.p.a.p.PostProjectAnalysisTasksExecutor] Pull Request decoration | status=SUCCESS | time=0ms
Instead of using Azure DevOps tasks, when we use powershell, install sonarqube msbuild scanner
and use like this
$sonarscanner" begin /k:"" /d:sonar.host.url="" /d:sonar.login="" /d:sonar.pullrequest.branch="" /d:sonar.pullrequest.key="" /d:sonar.pullrequest.provider=“github” ` /d:sonar.exclusions=""
followed by
$sonnarscanner end, it is working fine…
What are we missing while using Azure Devops tasks… please confirm.