This commit is contained in:
Joseph Schorr 2015-06-28 10:44:58 +03:00
parent cea4ad2d85
commit cd5cb4b767

View file

@ -71,7 +71,7 @@ def _determine_build_ref(run_parameters, get_branch_sha, get_tag_sha, default_br
kind = ''
value = ''
if 'refs' in run_parameters:
if 'refs' in run_parameters and run_parameters['refs']:
kind = run_parameters['refs']['kind']
value = run_parameters['refs']['name']
elif 'branch_name' in run_parameters: