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
Comentários
https://aka.ms/ContentUserFeedback.
Em breve: Ao longo de 2024, eliminaremos os problemas do GitHub como o mecanismo de comentários para conteúdo e o substituiremos por um novo sistema de comentários. Para obter mais informações, consulteEnviar e exibir comentários de