@groovy.transform.CompileStatic class GitlabProjectClient extends Object implements GitlabClient
Holds an HTTP client, the project identifier and the Gitlab token
| Modifiers | Name | Description |
|---|---|---|
static String |
GITLAB_SERVER |
|
static String |
GITLAB_SERVER_OVERRIDE_PROPERTY |
Primarily used for testing to override the URL |
| Type | Name and description |
|---|---|
String |
gitlabToken |
groovyx.net.http.HttpBuilder |
httpClient |
String |
projectIdentifier |
| Constructor and description |
|---|
GitlabProjectClient
(String projectIdentifier, String gitlabToken) |
GitlabProjectClient
(String gitlabUrl, String projectIdentifier, String gitlabToken) |
GitlabProjectClient
(GitlabProjectClient other, String projectIdentifier) |
Primarily used for testing to override the URL
Creates a client to talk to Gitlab
Creates a client to talk to Gitlab
uri - URI of Gitlab serverGroovy Documentation