/// <summary> /// Initializes a new instance of the <see cref="BaseAzureDevOpsCollectionSettings"/> class using environment variables /// as set by an Azure Pipelines build. /// </summary> /// <param name="credentials">Credentials to use to authenticate against Azure DevOps.</param> protected BaseAzureDevOpsCollectionSettings(IAzureDevOpsCredentials credentials) : base(credentials) { this.CollectionUrl = EnvironmentVariableHelper.GetSystemTeamFoundationCollectionUri(); }
/// <summary> /// Initializes a new instance of the <see cref="BaseAzureDevOpsProjectSettings"/> class using environment variables /// as set by an Azure Pipelines build. /// </summary> /// <param name="credentials">Credentials to use to authenticate against Azure DevOps.</param> protected BaseAzureDevOpsProjectSettings(IAzureDevOpsCredentials credentials) : base(credentials) { this.ProjectName = EnvironmentVariableHelper.GetSystemTeamProject(); }