Summary
Gets the GitLab CI commands.
- Namespace
- Cake
.Common .Build .GitLabCI - Containing Type
- GitLabCIProvider
Syntax
public GitLabCICommands Commands { get; }
Examples
if (BuildSystem.GitLabCI.IsRunningOnGitLabCI)
{
BuildSystem.GitLabCI.Commands.SetEnvironmentVariable(
"./gitlab.env",
"MY_VAR",
"value");
}
Value
| Type | Description |
|---|---|
| GitLabCICommands | The GitLab CI commands. |
