Adding in cancel notifications
This commit is contained in:
parent
b7aac159ae
commit
4103a0b75f
9 changed files with 153 additions and 29 deletions
|
@ -80,6 +80,22 @@ function(Config, Features, VulnerabilityService) {
|
|||
'placeholder': '(refs/heads/somebranch)|(refs/tags/sometag)'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
'id': 'build_cancelled',
|
||||
'title': 'Docker Build Cancelled',
|
||||
'icon': 'fa-minus-circle',
|
||||
'fields': [
|
||||
{
|
||||
'name': 'ref-regex',
|
||||
'type': 'regex',
|
||||
'title': 'matching ref(s)',
|
||||
'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)'
|
||||
}
|
||||
]
|
||||
}];
|
||||
|
||||
for (var i = 0; i < buildEvents.length; ++i) {
|
||||
|
|
Reference in a new issue