BuildSystem.

AzurePipelines Property

Summary

Gets the Azure Pipelines Provider.
Namespace
Cake.Common.Build
Containing Type
BuildSystem

Syntax

public IAzurePipelinesProvider AzurePipelines { get; }

Examples

if (BuildSystem.IsRunningOnAzurePipelines)
{
    // Get the build definition name.
    var definitionName = BuildSystem.AzurePipelines.Environment.BuildDefinition.Name;
}

Value

Type Description
IAzurePipelinesProvider