This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.AzureDevOps.
Summary
Settings for aliases handling builds.
- Assembly
- Cake
.AzureDevOps .dll - Namespace
- Cake
.AzureDevOps .Pipelines - Base Types
graph BT
Type-->Base0["BaseAzureDevOpsProjectSettings"]
click Base0 "/api/Cake.AzureDevOps/BaseAzureDevOpsProjectSettings"
Base0-->Base1["BaseAzureDevOpsCollectionSettings"]
click Base1 "/api/Cake.AzureDevOps/BaseAzureDevOpsCollectionSettings"
Base1-->Base2["BaseAzureDevOpsCredentialsSettings"]
click Base2 "/api/Cake.AzureDevOps/BaseAzureDevOpsCredentialsSettings"
Base2-->Base3["Object"]
Type["AzureDevOpsBuildSettings"]
class Type type-node
Syntax
public class AzureDevOpsBuildSettings : BaseAzureDevOpsProjectSettings
Constructors
| Name | Summary |
|---|---|
| Azure |
Initializes a new instance of the AzureDevOpsBuildSettings class
based on the instance of a AzureDevOpsBuildSettings class.
|
| Azure |
Initializes a new instance of the AzureDevOpsBuildSettings class using environment variables
as set by an Azure Pipelines build.
|
| Azure |
Initializes a new instance of the AzureDevOpsBuildSettings class using environment variables
as set by an Azure Pipelines build.
|
| Azure |
Initializes a new instance of the AzureDevOpsBuildSettings class.
|
| Azure |
Initializes a new instance of the AzureDevOpsBuildSettings class.
|
Properties
| Name | Value | Summary |
|---|---|---|
| BuildId | int |
Gets the ID of the build.
|
| CollectionUrl | Uri |
Gets the full URL of the Azure DevOps collection, eg.
.
Inherited from Base
|
| Credentials | I |
Gets the credentials used to authenticate against Azure DevOps.
Inherited from Base
|
| ProjectGuid | Guid |
Gets the Guid of the project.
Can be
System.Guid.Empty if ProjectName is set.
Inherited from Base
|
| ProjectName | string |
Gets the name of the project.
Can be
null if ProjectGuid is set.
Inherited from Base
|
| Throw |
bool |
Gets or sets a value indicating whether an exception should be thrown if
build for
BuildId could not be found.
|
Methods
| Name | Value | Summary |
|---|---|---|
| Using |
Azure |
Constructs the settings object using the access token provided by Azure Pipelines.
static
|
| Using |
Azure |
Constructs the settings object for a specific build using the access token provided by Azure Pipelines.
static
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
| IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
| NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
| NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
| ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
| ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
| ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
| To |
string |
Returns the string value or a
Not set> markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|
