View build details in Amazon CodeBuild - Amazon CodeBuild
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

View build details in Amazon CodeBuild

You can use the Amazon CodeBuild console, Amazon CLI, or Amazon SDKs to view details about builds managed by CodeBuild.

View build details (console)

  1. Open the Amazon CodeBuild console at https://console.amazonaws.cn/codesuite/codebuild/home.

  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 for the build.

    • In the navigation pane, choose Build projects. In the list of build projects, in the Name column, choose the link for the name of the build project. Then, in the list of builds, in the Build run column, choose the link for the build.

    Note

    By default, only the 10 most recent builds or build projects are displayed. To view more builds or build projects, choose the gear icon, and then choose a different value for Builds per page or Projects per page or use the back and forward arrows.

View build details (Amazon CLI)

For more information about using the Amazon CLI with Amazon CodeBuild, see the Command line reference.

Run the batch-get-builds command:

aws codebuild batch-get-builds --ids ids

Replace the following placeholder:

For example, if you run this command:

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 To view summarized build information appears in the output.

View build details (Amazon SDKs)

For more information about using Amazon CodeBuild with the Amazon SDKs, see the Amazon SDKs and tools reference.

Build phase transitions

Builds in Amazon CodeBuild proceed in phases:

Important

The UPLOAD_ARTIFACTS phase is always attempted, even if the BUILD phase fails.