AzureDevOpsBuildsSettings Class

Summary

Settings for aliases handling builds.
graph BT Type-->Base0["BaseAzureDevOpsProjectSettings"] click Base0 "/Cake.AzureDevOps/api/Cake.AzureDevOps/BaseAzureDevOpsProjectSettings" Base0-->Base1["BaseAzureDevOpsCollectionSettings"] click Base1 "/Cake.AzureDevOps/api/Cake.AzureDevOps/BaseAzureDevOpsCollectionSettings" Base1-->Base2["BaseAzureDevOpsCredentialsSettings"] click Base2 "/Cake.AzureDevOps/api/Cake.AzureDevOps/BaseAzureDevOpsCredentialsSettings" Base2-->Base3["object"] Type["AzureDevOpsBuildsSettings"] class Type type-node

Syntax

public class AzureDevOpsBuildsSettings : BaseAzureDevOpsProjectSettings

Constructors

Name Summary
AzureDevOpsBuildsSettings(AzureDevOpsBuildsSettings) Initializes a new instance of the AzureDevOpsBuildsSettings class based on the instance of a AzureDevOpsBuildsSettings class.
AzureDevOpsBuildsSettings(IAzureDevOpsCredentials) Initializes a new instance of the AzureDevOpsBuildsSettings class using environment variables as set by an Azure Pipelines build.
AzureDevOpsBuildsSettings(Uri, Guid, IAzureDevOpsCredentials) Initializes a new instance of the AzureDevOpsBuildsSettings class.
AzureDevOpsBuildsSettings(Uri, string, IAzureDevOpsCredentials) Initializes a new instance of the AzureDevOpsBuildsSettings class.

Properties

Name Value Summary
BranchName string
Gets or sets the name of the branch. Can be null or System.String.Empty.
BuildDefinitionName string
Gets or sets the name of the build definition. Can be null or System.String.Empty.
BuildQueryOrder AzureDevOpsBuildQueryOrder?
Gets or sets the build query order.
BuildResult AzureDevOpsBuildResult?
Gets or sets the build result.
BuildStatus AzureDevOpsBuildStatus?
Gets or sets the build status.
CollectionUrl Uri
Gets the full URL of the Azure DevOps collection, eg.
http://myserver:8080/defaultcollection
.
Credentials IAzureDevOpsCredentials
Gets the credentials used to authenticate against Azure DevOps.
MaxBuildsPerDefinition int?
Gets or sets the maximum number of builds per definition.
ProjectGuid Guid
Gets the Guid of the project. Can be System.Guid.Empty if ProjectName is set.
ProjectName string
Gets the name of the project. Can be null if ProjectGuid is set.
Top int?
Gets or sets the maximum number of builds.

Methods

Name Value Summary
UsingAzurePipelinesOAuthToken() AzureDevOpsBuildsSettings
Constructs the settings object using the access token provided by Azure Pipelines.
static
GitHub
Discussions