TaskGroupStep interface

Represents tasks in the task group.

Properties

alwaysRun

Gets or sets as 'true' to run the task always, 'false' otherwise.

condition

Gets or sets condition for the task.

continueOnError

Gets or sets as 'true' to continue on error, 'false' otherwise.

displayName

Gets or sets the display name.

enabled

Gets or sets as task is enabled or not.

environment

Gets dictionary of environment variables.

inputs

Gets or sets dictionary of inputs.

retryCountOnTaskFailure

Gets or sets the maximum number of retries

task

Gets or sets the reference of the task.

timeoutInMinutes

Gets or sets the maximum time, in minutes, that a task is allowed to execute on agent before being cancelled by server. A zero value indicates an infinite timeout.

Property Details

alwaysRun

Gets or sets as 'true' to run the task always, 'false' otherwise.

alwaysRun: boolean

Property Value

boolean

condition

Gets or sets condition for the task.

condition: string

Property Value

string

continueOnError

Gets or sets as 'true' to continue on error, 'false' otherwise.

continueOnError: boolean

Property Value

boolean

displayName

Gets or sets the display name.

displayName: string

Property Value

string

enabled

Gets or sets as task is enabled or not.

enabled: boolean

Property Value

boolean

environment

Gets dictionary of environment variables.

environment: {[key: string]: string}

Property Value

{[key: string]: string}

inputs

Gets or sets dictionary of inputs.

inputs: {[key: string]: string}

Property Value

{[key: string]: string}

retryCountOnTaskFailure

Gets or sets the maximum number of retries

retryCountOnTaskFailure: number

Property Value

number

task

Gets or sets the reference of the task.

task: TaskDefinitionReference

Property Value

timeoutInMinutes

Gets or sets the maximum time, in minutes, that a task is allowed to execute on agent before being cancelled by server. A zero value indicates an infinite timeout.

timeoutInMinutes: number

Property Value

number