NPE fix
This commit is contained in:
parent
cea4ad2d85
commit
cd5cb4b767
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Reference in a new issue