@groovy.transform.CompileStatic class GitlabCoreExtension extends Object
Gitlab core configuration
| Modifiers | Name | Description |
|---|---|---|
static String |
DEFAULT_BRANCH_PROPERTY |
|
static String |
DOCS_DEFAULT_URL |
|
static String |
DOCS_FALLBACK_PROPERTY |
|
static String |
DOCS_PROPERTY |
|
static String |
GITLAB_PAGES |
|
static String |
NAME |
|
static String |
YSF_BASE_URL |
| Type | Name and description |
|---|---|
Provider<String> |
docsRootUri |
Provider<String> |
gitlabUri |
Provider<String> |
projectIdentifierThe numeric identifier of the project. |
| Constructor and description |
|---|
GitlabCoreExtension
(Project project) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
Provider<String> |
getDocsRootUri()The URL where documentation for this project will be found. |
|
Provider<String> |
getGitlabApiAuthToken()Obtains the Gitlab API token. |
|
Provider<String> |
getGitlabApiAuthUser()The user that is interacting with Gitlab. |
|
Provider<String> |
getGitlabBranch()The Gitlab commit branch. |
|
Provider<String> |
getGitlabDefaultBranch()The Gitlab default branch. |
|
Provider<String> |
getGitlabUri()Get the project URI. |
|
Provider<String> |
getIssueUrl()The URL of the issues page for the project. |
|
Provider<Boolean> |
getPublishAssets()Whether assets should be published to Gitlab. |
|
void |
setDocsRootUri(Object slug)Set the documentation uri. |
|
void |
setGitlabUri(Object slug)Set the project uri. |
|
void |
setPublishAssets(boolean value) |
The URL where documentation for this project will be found.
The user that is interacting with Gitlab.
The Gitlab default branch.
The URL of the issues page for the project.
Whether assets should be published to Gitlab.
true if assets should be publishedSet the documentation uri.
slug - The project URI.Set the project uri.
slug - The project URI.Groovy Documentation