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

@@ -1,9 +1,14 @@
import { injectable } from 'inversify'
import { IBuildAgent, IExecResult } from '../../core/models'
import { IRequestOptions } from 'typed-rest-client/Interfaces'
@injectable()
class BuildAgent implements IBuildAgent {
proxyConfiguration(url: string): IRequestOptions {
console.log('proxyConfiguration')
return undefined
}
public get agentName(): string {
console.log('getAgentName')
return 'Mock'