From aa20a807bd21c659b35a16662aea041b8aaf945c Mon Sep 17 00:00:00 2001 From: jakedt Date: Mon, 24 Feb 2014 23:12:09 -0500 Subject: [PATCH] Link up the build trigger when a build is created from a webhook. --- endpoints/webhooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/endpoints/webhooks.py b/endpoints/webhooks.py index d2beccc2d..65a2ec403 100644 --- a/endpoints/webhooks.py +++ b/endpoints/webhooks.py @@ -87,7 +87,7 @@ def build_trigger_webhook(namespace, repository, trigger_uuid): 'resource_key': dockerfile_id, } build_request = model.create_repository_build(trigger.repository, token, - job_config, name) + job_config, name, trigger) dockerfile_build_queue.put(json.dumps({ 'build_uuid': build_request.uuid,