Class StepResult
Result of executing a single build step.
public class StepResult
- Inheritance
-
StepResult
- Inherited Members
Properties
Context
Additional context (e.g., project name).
public string? Context { get; init; }
Property Value
Duration
Time taken to execute the step.
public TimeSpan Duration { get; init; }
Property Value
ErrorMessage
Error message if the step failed, null on success.
public string? ErrorMessage { get; init; }
Property Value
Exception
Full exception if the step threw an exception, null otherwise. Useful for debugging and detailed error reporting.
public Exception? Exception { get; init; }
Property Value
StepName
Step type name (e.g., "Dotnet.Build").
public string StepName { get; init; }
Property Value
Success
Whether the step completed successfully.
public bool Success { get; init; }