Adding '' option to webhook_service

This commit is contained in:
John Westcott IV
2020-05-21 08:25:32 -04:00
parent 7939f2d320
commit 00f8dd9e6a

View File

@@ -246,6 +246,7 @@ options:
- Service that webhook requests will be accepted from - Service that webhook requests will be accepted from
type: str type: str
choices: choices:
- ''
- 'github' - 'github'
- 'gitlab' - 'gitlab'
webhook_credential: webhook_credential:
@@ -390,7 +391,7 @@ def main():
scm_branch=dict(), scm_branch=dict(),
ask_scm_branch_on_launch=dict(type='bool'), ask_scm_branch_on_launch=dict(type='bool'),
job_slice_count=dict(type='int', default='1'), job_slice_count=dict(type='int', default='1'),
webhook_service=dict(choices=['github', 'gitlab']), webhook_service=dict(choices=['github', 'gitlab','']),
webhook_credential=dict(), webhook_credential=dict(),
labels=dict(type="list", elements='str'), labels=dict(type="list", elements='str'),
notification_templates_started=dict(type="list", elements='str'), notification_templates_started=dict(type="list", elements='str'),