AzurePipelinesCommands.

SetProgress(int, string) Method

Summary

Set progress and current operation for current task.

Syntax

public void SetProgress(int progress, string currentOperation)

Examples

if (BuildSystem.AzurePipelines.IsRunningOnAzurePipelines)
{
    BuildSystem.AzurePipelines.Commands.SetProgress(50, "Running tests");
}

Parameters

Name Type Description
progress int Current progress as percentage.
currentOperation string The current operation.

Return Value

Type Description
void