class GitlabRepositorySettings
A configuration consisting of one specific project on one specific GitLab instance and a token that can be used to make API requests. Use Builder.build to create an instance.
data class Builder
A builder to create a GitlabRepositorySettings object. In GitLab CI, the values are automatically set via environment variables. Otherwise you can set the following environment variables: |
val gitlabApiUrl: String
the base URL of the API of the GitLab instance |
|
val gitlabUrl: String
the base URL of the GitLab instance |
|
val projectId: Int
the ID of the project on the GitLab instance |
|
val token: String
the token to use when authenticating |
|
val tokenLabel: String
if the token is a CI job token, this is "Job-Token", otherwise this is "Private-Token" |