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: SonarCloudPrepare@1
inputs:
SonarCloud: ‘SonarCloud For ESG’
organization: ‘sonarcloudtools’
scannerMode: ‘MSBuild’
projectKey: ‘$(projectName)’
projectName: ‘$(projectName)’
extraProperties: |
sonar.cs.opencover.reportsPaths=$(Build.SourcesDirectory)/**/.opencover.xml
sonar.cs.vstest.reportsPaths=$(Agent.TempDirectory)/.trx
- task: SonarCloudPrepare@1
-
task: SonarCloudAnalyze@1
- task: SonarCloudPublish@1
inputs:
pollingTimeoutSec: ‘300’
- task: SonarCloudPublish@1
- Languages of the repository
C# - Only if the SonarCloud project is public, the URL
private sonar- 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)
The code coverage and the sonar are goodd, but if i want to view the file in my sonar interface, i can’t . I have the following message: “The file was removed, no source code can be displayed.” - Steps to reproduce
i don’t understand - Potential workaround
i didn’t find