gradle-josm-plugin / org.openstreetmap.josm.gradle.plugin.gitlab / GitlabRepositorySettings

GitlabRepositorySettings

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.

Types

Builder

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:

Properties

gitlabApiUrl

val gitlabApiUrl: String

the base URL of the API of the GitLab instance

gitlabUrl

val gitlabUrl: String

the base URL of the GitLab instance

projectId

val projectId: Int

the ID of the project on the GitLab instance

token

val token: String

the token to use when authenticating

tokenLabel

val tokenLabel: String

if the token is a CI job token, this is "Job-Token", otherwise this is "Private-Token"