add webhook URL to custom trigger dialog

This commit is contained in:
Jimmy Zelinskie 2015-04-16 12:06:48 -04:00
parent 0c3becd204
commit 2236270741
2 changed files with 18 additions and 9 deletions

View file

@ -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