Summary
Gets Bitrise application information.
- Namespace
- Cake
.Common .Build .Bitrise .Data - Containing Type
- Bitrise
Environment Info
Syntax
public BitriseApplicationInfo Application { get; }
Examples
if (BuildSystem.Bitrise.IsRunningOnBitrise)
{
Information(
@"Application:
Title: {0}
Url: {1}
Slug: {2}",
BuildSystem.Bitrise.Environment.Application.ApplicationTitle,
BuildSystem.Bitrise.Environment.Application.ApplicationUrl,
BuildSystem.Bitrise.Environment.Application.AppSlug
);
}
else
{
Information("Not running on Bitrise");
}
if (Bitrise.IsRunningOnBitrise)
{
Information(
@"Application:
Title: {0}
Url: {1}
Slug: {2}",
Bitrise.Environment.Application.ApplicationTitle,
Bitrise.Environment.Application.ApplicationUrl,
Bitrise.Environment.Application.AppSlug
);
}
else
{
Information("Not running on Bitrise");
}
Value
Type | Description |
---|---|
Bitrise |
The application. |