Class BuildPipelineResult
Holds the results of the execution of a BuildPipeline.
Inherited Members
Namespace: Unity.Build
Assembly: solution.dll
Syntax
public class BuildPipelineResult
Properties
Name | Description |
---|---|
BuildPipeline | The BuildPipeline that was run. |
BuildSettings | The BuildSettings used throughout the execution of the BuildPipeline. |
BuildStepsResults | A list of BuildStepResult collected during the BuildPipeline execution for each IBuildStep. |
Duration | The total duration of the BuildPipeline execution. |
Failed | Determine if the execution of the BuildPipeline failed. |
Message | The message resulting from the execution of this BuildPipeline. |
Succeeded | Determine if the execution of the BuildPipeline succeeded. |
Methods
Name | Description |
---|---|
Failure(BuildPipeline, BuildSettings, string) | Create a new instance of BuildPipelineResult that represent a failed execution. |
LogResult() | Output the log result to developer debug console. |
Success(BuildPipeline, BuildSettings) | Create a new instance of BuildPipelineResult that represent a successful execution. |
ToString() | Get the BuildPipelineResult as a string that can be used for logging. |
TryGetBuildStepResult(IBuildStep, out BuildStepResult) | Get the BuildStepResult for the specified IBuildStep. |
Operators
Name | Description |
---|---|
implicit operator bool(BuildPipelineResult) | Implicit conversion to bool. |
implicit operator BuildStepResult(BuildPipelineResult) | Implicit conversion to BuildStepResult. |