- Can you suggest which version of SonarQube supports .Net 2.0+? Is that version a free version?
- Does SonarQube integrate with Azure DevOps Server 2019?
Sonarqube 7.7 is running together with Azure DevOps Server 2019 fine.
Using the Sonarqube extensions and Building/testing with dotnet.
On test results and code coverage you have to be careful on that they are not published in a temproy folder.
With Sonarqube developer SonarQube issues can be reporte back to the PR as comments.
- task: DotNetCoreCLI@2
displayName: 'dotnet test'
inputs:
command: test
projects: '**\*Test.csproj'
arguments: '-c $(BuildConfiguration) -l trx --filter TestCategory!=IntegrationTest --no-build --collect "Code coverage"'
publishTestResults: false
- task: PublishTestResults@2
displayName: 'Publish Test Results $(Build.SourcesDirectory)/source/**/**/*.trx'
inputs:
testResultsFormat: VSTest
testResultsFiles: '$(Build.SourcesDirectory)/source/**/**/*.trx'
buildPlatform: '$(BuildPlatform)'
buildConfiguration: '$(BuildConfiguration)'