Template for a good new topic, formatted with Markdown:
- 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)
- task: SonarSource.sonarcloud.14d9cde6-c1da-4d55-aa01-2965cd301255.SonarCloudPrepare@1
displayName: ‘Prepare analysis on SonarCloud’
inputs:
SonarCloud: REDACTED
organization: REDACTED
projectKey: REDACTED
projectName: REDACTED
extraProperties: |Additional properties that will be passed to the scanner,
Put one key=value per line, example:
sonar.exclusions=**/.sql
sonar.cs.opencover.reportsPaths=(Build.SourcesDirectory)//**/coverage.opencover.xml sonar.cs.vstest.reportsPaths=(Agent.TempDirectory)/.trx
-
Languages of the repository
dotnet core -
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
Private
- 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 is not decorated
We followed the instructions here to setup the Azure DevOps PR decoration
We can see that a given branch/pr contains code smells but we aren’t seeing the PR comments being added.
Here is an example ID of the background task for the PR
AXRM7IaoQ8Hd3BaV9mI9