diff --git a/eng/CodeCoverage.targets b/eng/CodeCoverage.targets index f38947af3980..e2ca1fc85b30 100644 --- a/eng/CodeCoverage.targets +++ b/eng/CodeCoverage.targets @@ -34,7 +34,9 @@ $(CoverageReportCommandLine) "-filefilters:+$(CodeCoverageDirectory)\**" + IgnoreExitCode="true" + StandardErrorImportance="high" + StandardOutputImportance="low" /> - + <_ImportCodeCoverage>true XPlat Code Coverage diff --git a/eng/pipelines/templates/jobs/archetype-sdk-client.yml b/eng/pipelines/templates/jobs/archetype-sdk-client.yml index 351568ab83e2..93d3bbaa19dd 100644 --- a/eng/pipelines/templates/jobs/archetype-sdk-client.yml +++ b/eng/pipelines/templates/jobs/archetype-sdk-client.yml @@ -110,8 +110,8 @@ jobs: condition: and(succeededOrFailed(), ne(variables['Skip.Test'], true)) variables: - template: ../variables/globals.yml - - name: disable.coverage.autogenerate - value: true + # - name: disable.coverage.autogenerate + # value: true strategy: maxParallel: $[ variables['MaxParallelTestJobs'] ] matrix: @@ -172,7 +172,7 @@ jobs: inputs: reports: $(Build.SourcesDirectory)\sdk\${{parameters.ServiceDirectory}}\**\coverage.cobertura.xml targetdir: $(Build.SourcesDirectory) - reporttypes: Cobertura;HtmlSummary + reporttypes: Cobertura filefilters: +$(Build.SourcesDirectory)\sdk\${{parameters.ServiceDirectory}}\** verbosity: Verbose - task: PublishCodeCoverageResults@1