Skip to content

Commit b1f76f2

Browse files
authored
Added proxy support for coveragepublisher common task - HTTPS_PROXY, and NO_PROXY env support (#21011)
* Adding proxy support for the CoveragePublisher * Bumping up the PCCRV2 task version
1 parent b375f67 commit b1f76f2

File tree

4 files changed

+238
-90
lines changed

4 files changed

+238
-90
lines changed

Tasks/Common/coveragepublisher/coveragepublisher.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ async function publishCoverage(inputFiles: string[], reportDirectory: string, pa
7272
"AGENT_TEMPPATH": taskLib.getVariable('Agent.TempPath'),
7373
"SYSTEM_TEAMPROJECTID": taskLib.getVariable('System.TeamProjectId'),
7474
"PIPELINES_COVERAGEPUBLISHER_DEBUG": taskLib.getVariable('PIPELINES_COVERAGEPUBLISHER_DEBUG'),
75+
"HTTPS_PROXY": process.env['HTTPS_PROXY'],
76+
"NO_PROXY": process.env['NO_PROXY'],
7577
"DOTNET_SYSTEM_GLOBALIZATION_INVARIANT": taskLib.getVariable('DOTNET_SYSTEM_GLOBALIZATION_INVARIANT')
7678
};
7779

0 commit comments

Comments
 (0)