Summary
    Gets GoCD stage information.
    
		- Namespace
- Cake.Common .Build .GoCD .Data 
- Containing Type
- GoCDEnvironmentInfo
Syntax
public GoCDStageInfo Stage { get; }Examples
if (BuildSystem.GoCD.IsRunningOnGoCD)
{
    Information(
        @"Stage:
        Name: {0}
        Counter: {1}",
        BuildSystem.GoCD.Environment.Stage.Name,
        BuildSystem.GoCD.Environment.Stage.Counter
        );
}
else
{
    Information("Not running on GoCD");
}if (GoCD.IsRunningOnGoCD)
{
    Information(
        @"Stage:
        Name: {0}
        Counter: {1}",
        GoCD.Environment.Stage.Name,
        GoCD.Environment.Stage.Counter
        );
}
else
{
    Information("Not running on GoCD");
}Value
| Type | Description | 
|---|---|
| GoCDStageInfo | The GoCD stage information. | 
