GitLab CI Kotlin DSL • opensavvy.gitlab.ci • Value
Value¶
object Value
Types¶
Commit
¶
object Commit
Variables related to commits.
DependencyProxy
¶
object DependencyProxy
The container dependency proxy allows to cache containers in GitLab to avoid Docker Hub's rate limits.
Environment
¶
object Environment
ExternalPullRequest
¶
object ExternalPullRequest
Job
¶
object Job
MergeRequest
¶
object MergeRequest
Pages
¶
object Pages
Parallel
¶
object Parallel
Pipeline
¶
object Pipeline
Project
¶
object Project
Registry
¶
object Registry
Runner
¶
object Runner
Server
¶
object Server
User
¶
object User
Properties¶
active
¶
val active:
true
for all jobs executed in CI.
apiV4URL
¶
buildDir
¶
Top-level directory in which builds are executed.
concurrentId
¶
val concurrentId: String?
The unique ID of build execution in a single executor.
concurrentProjectId
¶
val concurrentProjectId: String?
The unique ID of build execution in a single executor and project.
configPath
¶
val configPath: String?
The path to the CI/CD configuration file.
debugTrace
¶
val debugTrace: String?
true
if debug logging is enabled.
defaultBranch
¶
val defaultBranch:
The project's default branch.
deployFreeze
¶
val deployFreeze:
Only available if the pipeline runs during a deployment freeze window.
disposable
¶
val disposable:
Only available if the job is executed in a disposable environment (something that is created only for this job and will be destroyed after the execution, all executors except shell
and ssh
).
features
¶
fipsMode
¶
val fipsMode:
Whether FIPS mode is enabled in the GitLab instance.
hasOpenRequirements
¶
val hasOpenRequirements:
Only available if the pipeline's project has an open requirement.
isDefaultBranch
¶
val isDefaultBranch: Boolean
isTag
¶
kubernetesActive
¶
val kubernetesActive:
openMergeRequests
¶
val openMergeRequests: String?
shared
¶
val shared:
triggerPayload
¶
val triggerPayload: String?