- Add a build now command to the trigger
- Have the trigger description use the master_branch in the config
This commit is contained in:
parent
011490d36d
commit
206049dbf8
5 changed files with 35 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
Reference in a new issue