Amazon CodeBuild · Schema
BuildBatchPhase
Contains information about a stage for a batch build.
AmazonCI/CDBuildContinuous IntegrationDevOpsTesting
Properties
| Name | Type | Description |
|---|---|---|
| phaseType | object | |
| phaseStatus | object | |
| startTime | object | |
| endTime | object | |
| durationInSeconds | object | |
| contexts | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codebuild/refs/heads/main/json-schema/amazon-codebuild-build-batch-phase-schema.json",
"title": "BuildBatchPhase",
"description": "Contains information about a stage for a batch build.",
"type": "object",
"properties": {
"phaseType": {
"allOf": [
{
"$ref": "#/components/schemas/BuildBatchPhaseType"
},
{
"description": "<p>The name of the batch build phase. Valid values include:</p> <dl> <dt>COMBINE_ARTIFACTS</dt> <dd> <p>Build output artifacts are being combined and uploaded to the output location.</p> </dd> <dt>DOWNLOAD_BATCHSPEC</dt> <dd> <p>The batch build specification is being downloaded.</p> </dd> <dt>FAILED</dt> <dd> <p>One or more of the builds failed.</p> </dd> <dt>IN_PROGRESS</dt> <dd> <p>The batch build is in progress.</p> </dd> <dt>STOPPED</dt> <dd> <p>The batch build was stopped.</p> </dd> <dt>SUBMITTED</dt> <dd> <p>The btach build has been submitted.</p> </dd> <dt>SUCCEEDED</dt> <dd> <p>The batch build succeeded.</p> </dd> </dl>"
}
]
},
"phaseStatus": {
"allOf": [
{
"$ref": "#/components/schemas/StatusType"
},
{
"description": "<p>The current status of the batch build phase. Valid values include:</p> <dl> <dt>FAILED</dt> <dd> <p>The build phase failed.</p> </dd> <dt>FAULT</dt> <dd> <p>The build phase faulted.</p> </dd> <dt>IN_PROGRESS</dt> <dd> <p>The build phase is still in progress.</p> </dd> <dt>STOPPED</dt> <dd> <p>The build phase stopped.</p> </dd> <dt>SUCCEEDED</dt> <dd> <p>The build phase succeeded.</p> </dd> <dt>TIMED_OUT</dt> <dd> <p>The build phase timed out.</p> </dd> </dl>"
}
]
},
"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."
}
]
}
}
}