Link up the build trigger when a build is created from a webhook.
This commit is contained in:
parent
001c822d74
commit
aa20a807bd
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ def build_trigger_webhook(namespace, repository, trigger_uuid):
|
||||||
'resource_key': dockerfile_id,
|
'resource_key': dockerfile_id,
|
||||||
}
|
}
|
||||||
build_request = model.create_repository_build(trigger.repository, token,
|
build_request = model.create_repository_build(trigger.repository, token,
|
||||||
job_config, name)
|
job_config, name, trigger)
|
||||||
|
|
||||||
dockerfile_build_queue.put(json.dumps({
|
dockerfile_build_queue.put(json.dumps({
|
||||||
'build_uuid': build_request.uuid,
|
'build_uuid': build_request.uuid,
|
||||||
|
|
Reference in a new issue