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
Gets Azure Pipelines build definitions for the specified settings.
- Assembly
- Cake
.AzureDevOps .dll - Namespace
- Cake
.AzureDevOps - Containing Type
- AzureDevOpsAliases
Syntax
public static IEnumerable<AzureDevOpsBuildDefinition> AzureDevOpsBuildDefinitions(this ICakeContext context, AzureDevOpsBuildsSettings settings)
Examples
Get build definitions running on Azure DevOps Server:
var buildSettings =
new AzureDevOpsBuildsSettings(
new Uri("http://myserver:8080/defaultcollection"),
"MyProject",
AzureDevOpsAuthenticationNtlm());
var buildDefinitions =
AzureDevOpsBuildDefinitions(
buildSettings);
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
settings | Azure |
Settings for getting the build definitions. |
Return Value
Type | Description |
---|---|
IEnumerable |
The build definitions or an empty list of build definitions. |