From 8bea439c5e31ca201b7c15ca8f6c9c0502b483f9 Mon Sep 17 00:00:00 2001 From: wtgodbe Date: Thu, 30 Jun 2016 14:32:44 -0700 Subject: [PATCH] Use HTML publisher for code coverage reports in CI Commit migrated from https://github.com/dotnet/coreclr/commit/b6199d247b619ebe62e733b62fb4cec998faee27 --- src/coreclr/netci.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/coreclr/netci.groovy b/src/coreclr/netci.groovy index 50f0b24..37cb09b 100755 --- a/src/coreclr/netci.groovy +++ b/src/coreclr/netci.groovy @@ -2126,7 +2126,7 @@ combinedScenarios.each { scenario -> --useServerGC --coreclr-coverage \\ --coreclr-objs=\"\$(pwd)/clr/bin/obj/${osGroup}.${architecture}.${configuration}\" \\ --coreclr-src=\"\$(pwd)/clr/src\" \\ - --coverage-output-dir=\"./coverage\" """) + --coverage-output-dir=\"\${WORKSPACE}/coverage\" """) } else { @@ -2188,7 +2188,7 @@ combinedScenarios.each { scenario -> if (scenario == 'coverage') { // Publish coverage reports - Utilities.addArchival(newJob, "coverage/**") + Utilities.addHtmlPublisher(newJob, '${WORKSPACE}/coverage/Coverage/reports', 'Code Coverage Report', 'coreclr.html') addEmailPublisher(newJob, 'clrcoverage@microsoft.com') } -- 2.7.4