AWS Fundamentals Logo
AWS Fundamentals
aws codebuild

AWS AWS CodeBuild CLI Commands

59 CLI commands available for AWS CodeBuild.

CommandSample
batch-delete-builds

Deletes one or more builds.

batch-get-build-batches

Retrieves information about one or more batch builds.

batch-get-builds

Gets information about one or more builds.

batch-get-command-executions

Gets information about the command executions.

batch-get-fleets

Gets information about one or more compute fleets.

batch-get-projects

Gets information about one or more build projects.

batch-get-report-groups

Returns an array of report groups.

batch-get-reports

Returns an array of reports.

batch-get-sandboxes

Gets information about the sandbox status.

create-fleet

Creates a compute fleet.

create-project

Creates a build project.

create-report-group

Creates a report group. A report group contains a collection of reports.

create-webhook

For an existing CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, enables CodeBuild to start rebuilding the source code every time a code change is pushed to the repository. If you enable webhooks for an CodeBuild project, and the project is used as a buil

delete-build-batch

Deletes a batch build.

delete-fleet

Deletes a compute fleet. When you delete a compute fleet, its builds are not deleted.

delete-project

Deletes a build project. When you delete a project, its builds are not deleted.

delete-report

Deletes a report.

delete-report-group

Deletes a report group. Before you delete a report group, you must delete its reports.

delete-resource-policy

Deletes a resource policy that is identified by its resource ARN.

delete-source-credentials

Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.

delete-webhook

For an existing CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, stops CodeBuild from rebuilding the source code every time a code change is pushed to the repository.

describe-code-coverages

Retrieves one or more code coverage reports.

describe-test-cases

Returns a list of details about test cases for a report.

get-report-group-trend

Analyzes and accumulates test report values for the specified test reports.

get-resource-policy

Gets a resource policy that is identified by its resource ARN.

import-source-credentials

Imports the source repository credentials for an CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository.

invalidate-project-cache

Resets the cache for a project.

list-build-batches

Retrieves the identifiers of your build batches in the current region.

list-build-batches-for-project

Retrieves the identifiers of the build batches for a specific project.

list-builds

Gets a list of build IDs, with each build ID representing a single build.

list-builds-for-project

Gets a list of build identifiers for the specified build project, with each build identifier representing a single build.

list-command-executions-for-sandbox

Gets a list of command executions for a sandbox.

list-curated-environment-images

Gets information about Docker images that are managed by CodeBuild.

list-fleets

Gets a list of compute fleet names with each compute fleet name representing a single compute fleet.

list-projects

Gets a list of build project names, with each build project name representing a single build project.

list-report-groups

Gets a list ARNs for the report groups in the current Amazon Web Services account.

list-reports

Returns a list of ARNs for the reports in the current Amazon Web Services account.

list-reports-for-report-group

Returns a list of ARNs for the reports that belong to a ReportGroup.

list-sandboxes

Gets a list of sandboxes.

list-sandboxes-for-project

Gets a list of sandboxes for a given project.

list-shared-projects

Gets a list of projects that are shared with other Amazon Web Services accounts or users.

list-shared-report-groups

Gets a list of report groups that are shared with other Amazon Web Services accounts or users.

list-source-credentials

Returns a list of SourceCredentialsInfo objects.

put-resource-policy

Stores a resource policy for the ARN of a Project or ReportGroup object.

retry-build

Restarts a build.

retry-build-batch

Restarts a failed batch build. Only batch builds that have failed can be retried.

start-build

Starts running a build with the settings defined in the project. These setting include: how to run a build, where to get the source code, which build environment to use, which build commands to run, and where to store the build output. You can also start a build run by overriding some of the build s

start-build-batch

Starts a batch build for a project.

start-command-execution

Starts a command execution.

start-sandbox

Starts a sandbox.

start-sandbox-connection

Starts a sandbox connection.

stop-build

Attempts to stop running a build.

stop-build-batch

Stops a running batch build.

stop-sandbox

Stops a sandbox.

update-fleet

Updates a compute fleet.

update-project

Changes the settings of a build project.

update-project-visibility

Changes the public visibility for a project. The project's build results, logs, and artifacts are available to the general public. For more information, see Public build projects in the CodeBuild User Guide. The following should be kept in mind when making your projects public: All of a project's

update-report-group

Updates a report group.

update-webhook

Updates the webhook associated with an CodeBuild build project. If you use Bitbucket for your repository, rotateSecret is ignored.

Get the AWS CodeBuild Cheat Sheet

Everything you need to know about AWS CodeBuild on one page. HD quality, print-friendly.

Download Free Infographic

Get the AWS CodeBuild Cheat Sheet

Everything you need to know about AWS CodeBuild on one page. HD quality, print-friendly.

Download Free Infographic

Quick Stats

Total Commands59
ServiceCodeBuild