File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -27,9 +27,15 @@ steps:
2727 inputs :
2828 command : test
2929 projects : ' **/*[Tt]ests/*.csproj'
30- arguments : ' --configuration $(BuildConfiguration) /p:CollectCoverage=true /p:CoverletOutputFormat=opencover --collect "Code Coverage"'
31- targetdir : ' $(Build.SourcesDirectory)/reports'
32- reporttypes : ' SonarQube'
30+ arguments : ' --configuration $(BuildConfiguration) /p:CollectCoverage=true /p:CoverletOutputFormat=opencover --collect "Code Coverage" --output $(Build.ArtifactStagingDirectory)/reports'
31+ targetdir : ' $(Build.SourcesDirectory)/coverlet/reports'
32+ reporttypes : ' HtmlInline_AzurePipelines;Xml;Html;Clover;Cobertura;SonarQube'
33+
34+ # - script: 'dotnet tool install --global dotnet-reportgenerator-globaltool --version 4.5.8'
35+ # displayName: 'Install ReportGenerator tool'
36+
37+ # - script: 'reportgenerator -reports:$(Agent.TempDirectory)/**/coverage.cobertura.xml -targetdir:$(Build.SourcesDirectory)/coverlet/reports -reporttypes:"Cobertura"'
38+ # displayName: 'Create reports'
3339
3440- task : Palmmedia.reportgenerator.reportgenerator-build-release-task.reportgenerator@5
3541 displayName : ReportGenerator
You can’t perform that action at this time.
0 commit comments