Skip to content

Commit

Permalink
Update report directory to limit globbing
Browse files Browse the repository at this point in the history
  • Loading branch information
heaths committed Nov 25, 2020
1 parent bd33498 commit 36a8ef6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions eng/pipelines/templates/jobs/archetype-sdk-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ jobs:
condition: and(succeededOrFailed(), ne(variables['Skip.Test'], true))
variables:
- template: ../variables/globals.yml
- name: disable.coverage.autogenerate
value: true
strategy:
maxParallel: $[ variables['MaxParallelTestJobs'] ]
matrix:
Expand Down Expand Up @@ -168,12 +170,11 @@ jobs:
condition: and(succeededOrFailed(), eq(variables['CollectCoverage'], 'true'))
displayName: Generate Code Coverage Reports
inputs:
reports: >-
$(Build.SourcesDirectory)\sdk\**\coverage.cobertura.xml;
reports: $(Build.SourcesDirectory)\sdk\${{parameters.ServiceDirectory}}\**\coverage.cobertura.xml
targetdir: $(Build.SourcesDirectory)
reporttypes: Cobertura;HtmlSummary
filefilters: >-
+$(Build.SourcesDirectory)\sdk\${{parameters.ServiceDirectory}}\**;
filefilters: +$(Build.SourcesDirectory)\sdk\${{parameters.ServiceDirectory}}\**
verbosity: Verbose
- task: PublishCodeCoverageResults@1
condition: and(succeededOrFailed(), eq(variables['CollectCoverage'], 'true'))
displayName: Publish Code Coverage Reports
Expand Down

0 comments on commit 36a8ef6

Please sign in to comment.