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