Summary
Gets Bitrise directory information.
- Namespace
- Cake
.Common .Build .Bitrise .Data - Containing Type
- Bitrise
Environment Info
Syntax
public BitriseDirectoryInfo Directory { get; }
Examples
if (BuildSystem.Bitrise.IsRunningOnBitrise)
{
Information(
@"Directory:
Source Directory: {0}
Deploy Directory: {1}",
BuildSystem.Bitrise.Environment.Directory.SourceDirectory,
BuildSystem.Bitrise.Environment.Directory.DeployDirectory
);
}
else
{
Information("Not running on Bitrise");
}
if (Bitrise.IsRunningOnBitrise)
{
Information(
@"Directory:
Source Directory: {0}
Deploy Directory: {1}",
Bitrise.Environment.Directory.SourceDirectory,
Bitrise.Environment.Directory.DeployDirectory
);
}
else
{
Information("Not running on Bitrise");
}
Value
Type | Description |
---|---|
BitriseDirectoryInfo | The directory. |