Start on the new build view

This commit is contained in:
Joseph Schorr 2015-02-26 17:45:28 -05:00
parent 5cc1c90021
commit e227d7e526
30 changed files with 816 additions and 11 deletions

View file

@ -421,7 +421,8 @@ class ActivateBuildTrigger(RepositoryParamResource):
pull_robot_name = model.get_pull_robot_name(trigger)
build_request = start_build(repo, dockerfile_id, tags, name, subdir, True,
pull_robot_name=pull_robot_name, trigger_metadata=metadata)
trigger=trigger, pull_robot_name=pull_robot_name,
trigger_metadata=metadata)
except TriggerStartException as tse:
raise InvalidRequest(tse.message)