Amazon CodeBuild · Schema
BuildPhase
Information about a stage for a 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-phase-schema.json",
"title": "BuildPhase",
"description": "Information about a stage for a build.",
"type": "object",
"properties": {
"phaseType": {
"allOf": [
{
"$ref": "#/components/schemas/BuildPhaseType"
},
{
"description": "<p>The name of the build phase. Valid values include:</p> <dl> <dt>BUILD</dt> <dd> <p>Core build activities typically occur in this build phase.</p> </dd> <dt>COMPLETED</dt> <dd> <p>The build has been completed.</p> </dd> <dt>DOWNLOAD_SOURCE</dt> <dd> <p>Source code is being downloaded in this build phase.</p> </dd> <dt>FINALIZING</dt> <dd> <p>The build process is completing in this build phase.</p> </dd> <dt>INSTALL</dt> <dd> <p>Installation activities typically occur in this build phase.</p> </dd> <dt>POST_BUILD</dt> <dd> <p>Post-build activities typically occur in this build phase.</p> </dd> <dt>PRE_BUILD</dt> <dd> <p>Pre-build activities typically occur in this build phase.</p> </dd> <dt>PROVISIONING</dt> <dd> <p>The build environment is being set up.</p> </dd> <dt>QUEUED</dt> <dd> <p>The build has been submitted and is queued behind other submitted builds.</p> </dd> <dt>SUBMITTED</dt> <dd> <p>The build has been submitted.</p> </dd> <dt>UPLOAD_ARTIFACTS</dt> <dd> <p>Build output artifacts are being uploaded to the output location.</p> </dd> </dl>"
}
]
},
"phaseStatus": {
"allOf": [
{
"$ref": "#/components/schemas/StatusType"
},
{
"description": "<p>The current status of the 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 build phase started, expressed in Unix time format."
}
]
},
"endTime": {
"allOf": [
{
"$ref": "#/components/schemas/Timestamp"
},
{
"description": "When the 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 build's phase."
}
]
},
"contexts": {
"allOf": [
{
"$ref": "#/components/schemas/PhaseContexts"
},
{
"description": "Additional information about a build phase, especially to help troubleshoot a failed build."
}
]
}
}
}