Add regex validating field
This commit is contained in:
parent
c4eaed186e
commit
949dcb9d35
4 changed files with 50 additions and 3 deletions
|
@ -45,6 +45,7 @@ function(Config, Features, VulnerabilityService) {
|
|||
'help_text': 'An optional regular expression for matching the git branch or tag ' +
|
||||
'git ref. If left blank, the notification will fire for all builds.',
|
||||
'optional': true,
|
||||
'placeholder': '(refs/heads/somebranch)|(refs/tags/sometag)'
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -60,6 +61,7 @@ function(Config, Features, VulnerabilityService) {
|
|||
'help_text': 'An optional regular expression for matching the git branch or tag ' +
|
||||
'git ref. If left blank, the notification will fire for all builds.',
|
||||
'optional': true,
|
||||
'placeholder': '(refs/heads/somebranch)|(refs/tags/sometag)'
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -75,6 +77,7 @@ function(Config, Features, VulnerabilityService) {
|
|||
'help_text': 'An optional regular expression for matching the git branch or tag ' +
|
||||
'git ref. If left blank, the notification will fire for all builds.',
|
||||
'optional': true,
|
||||
'placeholder': '(refs/heads/somebranch)|(refs/tags/sometag)'
|
||||
}
|
||||
]
|
||||
}];
|
||||
|
|
Reference in a new issue