Skip to content

Commit 892483c

Browse files
committed
Try better path pattern
1 parent 76d893a commit 892483c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

azure-pipelines/templates/coverage.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ steps:
1212
organization: microsoft
1313
scannerMode: CLI
1414
extraProperties: |
15-
sonar.python.coverage.reportPaths=$(Build.SourcesDirectory)\**\coverage\coverage.xml
15+
sonar.python.coverage.reportPaths=$(Build.SourcesDirectory)/coverage/coverage.xml
1616
sonar.projectKey=microsoft_debugpy
1717
1818
- script: |
@@ -31,7 +31,7 @@ steps:
3131
displayName: 'Publish Coverage Report'
3232
inputs:
3333
codeCoverageTool: Cobertura
34-
summaryFileLocation: '$(Build.SourcesDirectory)/**/coverage/coverage.xml'
35-
reportDirectory: '$(Build.SourcesDirectory)/**/coverage/html'
34+
summaryFileLocation: '$(Build.SourcesDirectory)/coverage/coverage.xml'
35+
reportDirectory: '$(Build.SourcesDirectory)/coverage/html'
3636
failIfCoverageEmpty: true
3737
condition: always()

0 commit comments

Comments
 (0)