{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codebuild/refs/heads/main/json-structure/amazon-codebuild-build-batch-phase-structure.json", "name": "BuildBatchPhase", "description": "Contains information about a stage for a batch build.", "type": "object", "properties": { "phaseType": { "allOf": [ { "$ref": "#/components/schemas/BuildBatchPhaseType" }, { "description": "

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.

" } ] }, "phaseStatus": { "allOf": [ { "$ref": "#/components/schemas/StatusType" }, { "description": "

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.

" } ] }, "startTime": { "allOf": [ { "$ref": "#/components/schemas/Timestamp" }, { "description": "When the batch build phase started, expressed in Unix time format." } ] }, "endTime": { "allOf": [ { "$ref": "#/components/schemas/Timestamp" }, { "description": "When the batch build phase ended, expressed in Unix time format." } ] }, "durationInSeconds": { "allOf": [ { "$ref": "#/components/schemas/WrapperLong" }, { "description": "How long, in seconds, between the starting and ending times of the batch build's phase." } ] }, "contexts": { "allOf": [ { "$ref": "#/components/schemas/PhaseContexts" }, { "description": "Additional information about the batch build phase. Especially to help troubleshoot a failed batch build." } ] } } }