Add regex validating field

This commit is contained in:
Joseph Schorr 2016-09-15 13:25:57 -04:00
parent c4eaed186e
commit 949dcb9d35
4 changed files with 50 additions and 3 deletions

View file

@ -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)'
}
]
}];