Skip to content

Commit a9b6758

Browse files
committed
Update adt_pull_request.yml for Azure Pipelines
1 parent 8c3f7a7 commit a9b6758

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

adt_pull_request.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ 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=./sonarqubecoverage/SonarQube.xml
16+
sonar.coverageReportPaths='$(Build.SourcesDirectory)/**/sonarqubecoverage/SonarQube.xml
1717
1818
- task: CmdLine@2
1919
inputs:
@@ -42,10 +42,10 @@ steps:
4242
# #assemblyfilters: '-xunit\*'
4343

4444
- task: PublishCodeCoverageResults@1
45-
displayName: 'Publish code coverage from $(Build.SourcesDirectory)/**/TestResults/*/coverage.cobertura.xml'
45+
displayName: 'Publish code coverage from $(Build.SourcesDirectory)/**/SonarQube.xml'
4646
inputs:
4747
codeCoverageTool: Cobertura
48-
summaryFileLocation: '$(Build.SourcesDirectory)/**/TestResults/*/Cobertura.xml'
48+
summaryFileLocation: '$(Build.SourcesDirectory)/**/SonarQube.xml'
4949

5050
- task: SonarSource.sonarcloud.ce096e50-6155-4de8-8800-4221aaeed4a1.SonarCloudAnalyze@1
5151
displayName: 'Run Code Analysis'

0 commit comments

Comments
 (0)