add webhook URL to custom trigger dialog
This commit is contained in:
parent
0c3becd204
commit
2236270741
2 changed files with 18 additions and 9 deletions
|
@ -621,6 +621,7 @@ class CustomBuildTrigger(BuildTrigger):
|
|||
return dockerfile_id, tags, build_name, trigger.config['subdir'], metadata
|
||||
|
||||
def activate(self, trigger_uuid, standard_webhook_url, auth_token, config):
|
||||
config['webhook_url'] = standard_webhook_url
|
||||
config['public_key'], private_key = generate_ssh_keypair()
|
||||
return config, private_key
|
||||
|
||||
|
|
Reference in a new issue