initial gitlab angular stuff
This commit is contained in:
parent
d21fbb1204
commit
7426a540dd
5 changed files with 62 additions and 1 deletions
|
@ -1094,7 +1094,7 @@ class GitLabBuildTrigger(BuildTriggerHandler):
|
|||
return 'gitlab'
|
||||
|
||||
def _get_authorized_client(self):
|
||||
host = app.config.get('GITLAB_TRIGGER_CONFIG', {}).get('HOSTNAME', '')
|
||||
host = app.config.get('GITLAB_TRIGGER_CONFIG', {}).get('GITLAB_ENDPOINT', '')
|
||||
auth_token = self.auth_token or 'invalid'
|
||||
return gitlab.Gitlab(host, oauth_token=auth_token)
|
||||
|
||||
|
|
Reference in a new issue