Menu
AWS CodeBuild
User Guide (API Version 2016-10-06)

View Build Details in AWS CodeBuild

To view details about builds managed by AWS CodeBuild, you can use the AWS CodeBuild console, AWS CLI, or AWS SDKs.

View Build Details (Console)

  1. Open the AWS CodeBuild console at https://console.aws.amazon.com/codebuild/.

  2. Do one of the following:

    • In the navigation pane, choose Build history. In the list of builds, in the Build run column, choose the link that corresponds to the build.

    • In the navigation pane, choose Build projects. In the list of build projects, in the Project column, choose the link that corresponds to the name of the build project. Then, in the list of builds, in the Build run column, choose the link that corresponds to the build.

    Note

    By default, only the ten most recent builds or build projects are displayed. To view more builds or build projects, select a different value for Builds per page or Projects per page or select the back and forward arrows for Viewing builds or Viewing projects.

View Build Details (AWS CLI)

For more information about using the AWS CLI with AWS CodeBuild, see the Command Line Reference.

Run the batch-get-builds command:

Copy
aws codebuild batch-get-builds --ids ids

Replace the following placeholder:

For example, if you run this command:

Copy
aws codebuild batch-get-builds --ids codebuild-demo-project:e9c4f4df-3f43-41d2-ab3a-60fe2EXAMPLE codebuild-demo-project:815e755f-bade-4a7e-80f0-efe51EXAMPLE my-other-project:813bb6c6-891b-426a-9dd7-6d8a3EXAMPLE

If the command is successful, data similar to that described in the To view summarized build information (AWS CLI) procedure in Getting Started will appear in the output.

View Build Details (AWS SDKs)

For more information about using AWS CodeBuild with the AWS SDKs, see the AWS SDKs and Tools Reference.

Build Phase Transitions

Builds in AWS CodeBuild proceed in phases:

An important point to note here is that the UPLOAD_ARTIFACTS phase is always attempted, even if the BUILD phase fails.