initial gitlab angular stuff

This commit is contained in:
Jimmy Zelinskie 2015-05-02 13:31:54 -04:00
parent d21fbb1204
commit 7426a540dd
5 changed files with 62 additions and 1 deletions

View file

@ -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)