Link up the build trigger when a build is created from a webhook.

This commit is contained in:
jakedt 2014-02-24 23:12:09 -05:00
parent 001c822d74
commit aa20a807bd

View file

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