IAzurePipelinesProvider.

Commands Property

Summary

Gets the Azure Pipelines Commands provider.

Syntax

IAzurePipelinesCommands Commands { get; }

Examples

if (BuildSystem.AzurePipelines.IsRunningOnAzurePipelines)
{
    BuildSystem.AzurePipelines.Commands.WriteWarning("Watch this");
}
if (AzurePipelines.IsRunningOnAzurePipelines)
{
    AzurePipelines.Commands.WriteWarning("Watch this");
}

Value

Type Description
IAzurePipelinesCommands The Azure Pipelines commands provider.