Editar

Compartilhar via


ValidationItem interface

Properties

isValid

Tells whether the current input is valid or not

reason

Reason for input validation failure

type

Type of validation item

value

Value to validate. The conditional expression to validate for the input for "expression" type Eg:eq(variables['Build.SourceBranch'], 'refs/heads/master');eq(value, 'refs/heads/master')

Property Details

isValid

Tells whether the current input is valid or not

isValid: boolean

Property Value

boolean

reason

Reason for input validation failure

reason: string

Property Value

string

type

Type of validation item

type: string

Property Value

string

value

Value to validate. The conditional expression to validate for the input for "expression" type Eg:eq(variables['Build.SourceBranch'], 'refs/heads/master');eq(value, 'refs/heads/master')

value: string

Property Value

string