From 46eb5f19abcbd9eff856be2a009b3722be6d4679 Mon Sep 17 00:00:00 2001 From: Heath Stewart Date: Thu, 19 Nov 2020 14:26:04 -0800 Subject: [PATCH] Disable code coverage of track 2 mgmt Opened #17090 to track re-enabling once improved. --- eng/CodeCoverage.targets | 4 +++- eng/Directory.Build.Data.targets | 2 +- eng/pipelines/templates/jobs/archetype-sdk-client.yml | 6 +++--- 3 files changed, 7 insertions(+), 5 deletions(-) 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 fec7ea24ce7a..91fd2b0bd3e8 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: @@ -169,7 +169,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