Amazon CodeBuild · JSON Structure

Amazon Codebuild Build Batch Phase Structure

Contains information about a stage for a batch build.

Type: object Properties: 6
AmazonCI/CDBuildContinuous IntegrationDevOpsTesting

BuildBatchPhase is a JSON Structure definition published by Amazon CodeBuild, describing 6 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

phaseType phaseStatus startTime endTime durationInSeconds contexts

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$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": "<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."
        }
      ]
    }
  }
}