GitLabCIInfo.

GetEnvironmentBoolean(string, string) Method

Summary

Gets an environment variable as a bool.
Namespace
Cake.Common.Build.GitLabCI
Containing Type
GitLabCIInfo

Syntax

protected bool GetEnvironmentBoolean(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
bool The environment variable.