Summary
Gets an environment variable as a
string
.
- Namespace
- Cake
.Common .Build .GitLabCI - Containing Type
- GitLabCIInfo
Syntax
protected string GetEnvironmentString(string primaryVariable, string secondaryVariable)
Parameters
Name | Type | Description |
---|---|---|
primaryVariable | string | The primary environment variable name. |
secondaryVariable | string | The secondary environment variable name. |
Return Value
Type | Description |
---|---|
string | The environment variable. |