BitriseEnvironmentInfo.

Workflow Property

Summary

Gets Bitrise workflow information.

Syntax

public BitriseWorkflowInfo Workflow { get; }

Examples

if (BuildSystem.Bitrise.IsRunningOnBitrise)
{
    Information(
        @"Workflow:
        Workflow Id: {0}
        Workflow Title: {1}",
        BuildSystem.Bitrise.Environment.Workflow.WorkflowId,
        BuildSystem.Bitrise.Environment.Workflow.WorkflowTitle
        );
}
else
{
    Information("Not running on Bitrise");
}
if (Bitrise.IsRunningOnBitrise)
{
    Information(
        @"Workflow:
        Workflow Id: {0}
        Workflow Title: {1}",
        Bitrise.Environment.Workflow.WorkflowId,
        Bitrise.Environment.Workflow.WorkflowTitle
        );
}
else
{
    Information("Not running on Bitrise");
}

Value

Type Description
BitriseWorkflowInfo The workflow.