BitriseEnvironmentInfo.

Application Property

Summary

Gets Bitrise application information.

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
BitriseApplicationInfo The application.