ALM used (GitHub, Bitbucket Cloud, Azure DevOps)
Azure DevOps
CI system used (Bitbucket Cloud, Azure DevOps, Travis CI, Circle CI)
Azure DevOps
Scanner command used when applicable (private details masked)
Generic scanner on Azure Pipelines
Languages of the repository
C# / dotnet 3.1 / xUnit
Only if the SonarCloud project is public, the URL
And if you need help with pull request decoration, then the URL to the PR too
Error observed (wrap logs/code around with triple quotes ``` for proper formatting)
PR requests are getting analysed by SonarCloud, however no PR decoration information is being post back to Azure DevOps.
The āSonarCloud/quality gateā is not being show as a dropdown option in the āRequire approval from additional servicesā. Only the codecoverage status from Azure DevOps is being shown.
Steps to reproduce
Repository in Azure DevOps
Branch Policy
Require a minimum number of reviewers - Checked
Minimum number of reviewers - 2
Reset code reviewer votes when there are new changes - Checked
Check for linked work items - Optional
Check for comment resolution - Required
Limit Merge Types - Basic, Squash, Rebase
Build Validation Policy
Trigger - Automatic
Policy Requirement - Required
Expiration - 12 hours
Personal Access Token
Code (Read & Write)
Expire 2020/06/07
SonarCloud Settings
Project > Administration > General Settings > Pull Request
sonar.pullrequest.provider : Azure DevOps Services
sonar.pullrequest.vsts.token.secured : PAT token as specified above
We could not unfortunately activate this for any of our projects. We are not sure if this is an issue with DevOps, SonarCloud, configuration or our account. We have tried various suggestions from blogs and the SonarSource community posts to no avail.
Please note that PR-184 has been closed on our side.
Task: A*****/E*****/PR-184
ID: AXH3yj15-U-4l98ARPRp
Date: May 9, 2020
Submitted: 6:55:58 AM
The task below is of a current open PR we are trying to decorate.
Task: A*****/E*****/PR-187
ID: AXH0YSQwuo7p7bNgY-46
Date: May 9, 2020
Submitted: 3:02:19 PM