AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Information about a stage for a build.

Inheritance Hierarchy

System.Object
  Amazon.CodeBuild.Model.BuildPhase

Namespace: Amazon.CodeBuild.Model
Assembly: AWSSDK.CodeBuild.dll
Version: 3.x.y.z

Syntax

C#
public class BuildPhase

The BuildPhase type exposes the following members

Constructors

NameDescription
Public Method BuildPhase()

Properties

NameTypeDescription
Public Property Contexts System.Collections.Generic.List<Amazon.CodeBuild.Model.PhaseContext>

Gets and sets the property Contexts.

Additional information about a build phase, especially to help troubleshoot a failed build.

Public Property DurationInSeconds System.Int64

Gets and sets the property DurationInSeconds.

How long, in seconds, between the starting and ending times of the build's phase.

Public Property EndTime System.DateTime

Gets and sets the property EndTime.

When the build phase ended, expressed in Unix time format.

Public Property PhaseStatus Amazon.CodeBuild.StatusType

Gets and sets the property PhaseStatus.

The current status of the build phase. Valid values include:

  • FAILED: The build phase failed.

  • FAULT: The build phase faulted.

  • IN_PROGRESS: The build phase is still in progress.

  • STOPPED: The build phase stopped.

  • SUCCEEDED: The build phase succeeded.

  • TIMED_OUT: The build phase timed out.

Public Property PhaseType Amazon.CodeBuild.BuildPhaseType

Gets and sets the property PhaseType.

The name of the build phase. Valid values include:

  • BUILD: Core build activities typically occur in this build phase.

  • COMPLETED: The build has been completed.

  • DOWNLOAD_SOURCE: Source code is being downloaded in this build phase.

  • FINALIZING: The build process is completing in this build phase.

  • INSTALL: Installation activities typically occur in this build phase.

  • POST_BUILD: Post-build activities typically occur in this build phase.

  • PRE_BUILD: Pre-build activities typically occur in this build phase.

  • PROVISIONING: The build environment is being set up.

  • SUBMITTED: The build has been submitted.

  • UPLOAD_ARTIFACTS: Build output artifacts are being uploaded to the output location.

Public Property StartTime System.DateTime

Gets and sets the property StartTime.

When the build phase started, expressed in Unix time format.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms