BitriseProvider.

SetEnvironmentString(string, string) Method

Summary

Sets and environment variable that can be used in next steps on Bitrise.
Namespace
Cake.Common.Build.Bitrise
Containing Type
BitriseProvider

Syntax

public void SetEnvironmentString(string variable, string value)

Examples

if (BuildSystem.Bitrise.IsRunningOnBitrise)
{
    BuildSystem.Bitrise.SetEnvironmentString("MY_VAR", "value");
}

Parameters

Name Type Description
variable string The variable.
value string The value.

Return Value

Type Description
void