Fix variable access error
This commit is contained in:
parent
ff89cc9f1d
commit
df2883bfb6
1 changed files with 1 additions and 0 deletions
|
@ -1276,6 +1276,7 @@ class GitLabBuildTrigger(BuildTriggerHandler):
|
|||
if repo is False:
|
||||
raise TriggerStartException('Could not find repository')
|
||||
|
||||
committer = None
|
||||
if 'committer_email' in commit:
|
||||
try:
|
||||
[committer] = gl_client.getusers(search=commit['committer_email'])
|
||||
|
|
Reference in a new issue