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