Exemple #1
0
        // Init the Agent Config Provider
        private List <IConfigurationProvider> GetConfigurationProviderList(TestHostContext tc)
        {
            IConfigurationProvider buildReleasesAgentConfigProvider = new BuildReleasesAgentConfigProvider();

            buildReleasesAgentConfigProvider.Initialize(tc);

            _machineGroupAgentConfigProvider = new MachineGroupAgentConfigProvider();
            _machineGroupAgentConfigProvider.Initialize(tc);

            return(new List <IConfigurationProvider> {
                buildReleasesAgentConfigProvider, _machineGroupAgentConfigProvider
            });
        }
Exemple #2
0
        // Init the Agent Config Provider
        private List <IConfigurationProvider> GetConfigurationProviderList(TestHostContext tc)
        {
            IConfigurationProvider buildReleasesAgentConfigProvider = new BuildReleasesAgentConfigProvider();

            buildReleasesAgentConfigProvider.Initialize(tc);

            _deploymentGroupAgentConfigProvider = new DeploymentGroupAgentConfigProvider();
            _deploymentGroupAgentConfigProvider.Initialize(tc);

            IConfigurationProvider sharedDeploymentAgentConfiguration = new SharedDeploymentAgentConfigProvider();

            sharedDeploymentAgentConfiguration.Initialize(tc);

            return(new List <IConfigurationProvider> {
                buildReleasesAgentConfigProvider, _deploymentGroupAgentConfigProvider, sharedDeploymentAgentConfiguration
            });
        }