BuildBatchPhase - AWS CodeBuild

BuildBatchPhase

Contains information about a stage for a batch build.

Contents

Note

In the following list, the required parameters are described first.

contexts

Additional information about the batch build phase. Especially to help troubleshoot a failed batch build.

Type: Array of PhaseContext objects

Required: No

durationInSeconds

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

Type: Long

Required: No

endTime

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

Type: Timestamp

Required: No

phaseStatus

The current status of the batch 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.

Type: String

Valid Values: SUCCEEDED | FAILED | FAULT | TIMED_OUT | IN_PROGRESS | STOPPED

Required: No

phaseType

The name of the batch build phase. Valid values include:

COMBINE_ARTIFACTS

Build output artifacts are being combined and uploaded to the output location.

DOWNLOAD_BATCHSPEC

The batch build specification is being downloaded.

FAILED

One or more of the builds failed.

IN_PROGRESS

The batch build is in progress.

STOPPED

The batch build was stopped.

SUBMITTED

The btach build has been submitted.

SUCCEEDED

The batch build succeeded.

Type: String

Valid Values: SUBMITTED | DOWNLOAD_BATCHSPEC | IN_PROGRESS | COMBINE_ARTIFACTS | SUCCEEDED | FAILED | STOPPED

Required: No

startTime

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

Type: Timestamp

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: