Skip to content

Commit df2a9c7

Browse files
committed
Update adt_pull_request.yml for Azure Pipelines
1 parent 426c7f0 commit df2a9c7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

adt_pull_request.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ steps:
1313
# Additional properties that will be passed to the scanner,
1414
# Put one key=value per line, example:
1515
# sonar.exclusions=**/*.bin
16-
#sonar.coverageReportPaths=$(Agent.TempDirectory)/coverlet/reports/coverage.cobertura.xml
17-
sonar.cs.dotcover.reportsPaths=$(Agent.TempDirectory)/coverlet/reports/dotCover.Output.html
16+
##sonar.coverageReportPaths=$(Agent.TempDirectory)/coverlet/reports/Cobertura.xml
17+
sonar.cs.dotcover.reportsPaths=$(Agent.TempDirectory)/coverlet/reports/index.html
1818
1919
- task: CmdLine@2
2020
inputs:
@@ -30,8 +30,8 @@ steps:
3030
targetdir: '$(Build.SourcesDirectory)/coverlet/reports'
3131
reporttypes: 'HtmlInline_AzurePipelines;Cobertura;Badges;Xml;Clover;'
3232

33-
- script: 'dotnet tool install --global dotnet-reportgenerator-globaltool --version 4.5.8'
34-
displayName: 'Install ReportGenerator tool'
33+
#- script: 'dotnet tool install --global dotnet-reportgenerator-globaltool --version 4.5.8'
34+
# displayName: 'Install ReportGenerator tool'
3535

3636
#- script: 'reportgenerator -reports:$(Agent.TempDirectory)/**/coverage.cobertura.xml -targetdir:$(Build.SourcesDirectory)/coverlet/reports -reporttypes:"Cobertura"'
3737
# displayName: 'Create reports'
@@ -41,7 +41,7 @@ steps:
4141
inputs:
4242
reports: '$(Agent.TempDirectory)/**/coverage.cobertura.xml'
4343
targetdir: '$(Build.SourcesDirectory)/coverlet/reports'
44-
reporttypes: 'dotCover'
44+
reporttypes: '-reporttypes:Html;Clover;Cobertura;SonarQube'
4545
assemblyfilters: '-xunit\*'
4646

4747
- task: PublishCodeCoverageResults@1

0 commit comments

Comments
 (0)