ValidationItem interface
Properties
is |
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
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per