Added proxy support for azure agent and github runner

This commit is contained in:
Thomas VAILLIER
2020-03-11 22:43:44 +01:00
committed by Artur
parent e1e31a379b
commit a2f365cab2
34 changed files with 256 additions and 180 deletions

View File

@@ -41,7 +41,7 @@ export async function run() {
const result = await gitVersionTool.run(settings)
const { stdout } = result
const jsonOutput = stdout.substr(stdout.indexOf("{"))
const jsonOutput = stdout.substr(stdout.indexOf('{'))
const gitversion = JSON.parse(jsonOutput) as GitVersionOutput
gitVersionTool.writeGitVersionToAgent(gitversion)