RwxEnvironmentInfo.

Run Property

Summary

Gets RWX run information for the current build.

Syntax

public RwxRunInfo Run { get; }

Examples

if (BuildSystem.Rwx.IsRunningOnRwx)
{
    Information(
        @"Run:
        Id: {0}
        Title: {1}
        Url: {2}",
        BuildSystem.Rwx.Environment.Run.Id,
        BuildSystem.Rwx.Environment.Run.Title,
        BuildSystem.Rwx.Environment.Run.Url
        );
}
else
{
    Information("Not running on RWX");
}
if (Rwx.IsRunningOnRwx)
{
    Information(
        @"Run:
        Id: {0}
        Title: {1}
        Url: {2}",
        Rwx.Environment.Run.Id,
        Rwx.Environment.Run.Title,
        Rwx.Environment.Run.Url
        );
}
else
{
    Information("Not running on RWX");
}

Value

Type Description
RwxRunInfo The run.