- Add a build now command to the trigger

- Have the trigger description use the master_branch in the config
This commit is contained in:
Joseph Schorr 2014-02-25 19:53:41 -05:00
parent 011490d36d
commit 206049dbf8
5 changed files with 35 additions and 5 deletions

View file

@ -1469,7 +1469,7 @@ def manually_start_build_trigger(namespace, repository, trigger_uuid):
handler = BuildTrigger.get_trigger_for_service(trigger.service.name)
existing_config_dict = json.loads(trigger.config)
if handler.is_active(existing_config_dict):
if not handler.is_active(existing_config_dict):
abort(400)
return