aws codebuild

AWS CodeBuild AWS CodeBuild is a fully managed build service in the cloud. AWS CodeBuild compiles your source code, runs unit tests, and produces artifacts that are ready to deploy. AWS CodeBuild eliminates the need to provision, manage, and scale your own build servers. It provides prepackaged build environments for the most popular programming languages and build tools, such as Apache Maven, Gradle, and more. You can also fully customize build environments in AWS CodeBuild to use your own build tools. AWS CodeBuild scales automatically to meet peak build requests. You pay only for the build time you consume. For more information about AWS CodeBuild, see the AWS CodeBuild User Guide

Subcommands

NameDescription
batch-delete-buildsDeletes one or more builds
batch-get-build-batchesRetrieves information about one or more batch builds
batch-get-buildsGets information about one or more builds
batch-get-projectsGets information about one or more build projects
batch-get-report-groupsReturns an array of report groups
batch-get-reportsReturns an array of reports
create-projectCreates a build project
create-report-groupCreates a report group. A report group contains a collection of reports
create-webhookFor an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, enables AWS CodeBuild to start rebuilding the source code every time a code change is pushed to the repository. If you enable webhooks for an AWS CodeBuild project, and the project is used as a build step in AWS CodePipeline, then two identical builds are created for each commit. One build is triggered through webhooks, and one through AWS CodePipeline. Because billing is on a per-build basis, you are billed for both builds. Therefore, if you are using AWS CodePipeline, we recommend that you disable webhooks in AWS CodeBuild. In the AWS CodeBuild console, clear the Webhook box. For more information, see step 5 in Change a Build Project's Settings
delete-build-batchDeletes a batch build
delete-projectDeletes a build project. When you delete a project, its builds are not deleted
delete-reportDeletes a report
delete-report-groupDeletes a report group. Before you delete a report group, you must delete its reports
delete-resource-policyDeletes a resource policy that is identified by its resource ARN
delete-source-credentialsDeletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials
delete-webhookFor an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, stops AWS CodeBuild from rebuilding the source code every time a code change is pushed to the repository
describe-code-coveragesRetrieves one or more code coverage reports
describe-test-casesReturns a list of details about test cases for a report
get-report-group-trendAnalyzes and accumulates test report values for the specified test reports
get-resource-policyGets a resource policy that is identified by its resource ARN
import-source-credentialsImports the source repository credentials for an AWS CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository
invalidate-project-cacheResets the cache for a project
list-build-batchesRetrieves the identifiers of your build batches in the current region
list-build-batches-for-projectRetrieves the identifiers of the build batches for a specific project
list-buildsGets a list of build IDs, with each build ID representing a single build
list-builds-for-projectGets a list of build identifiers for the specified build project, with each build identifier representing a single build
list-curated-environment-imagesGets information about Docker images that are managed by AWS CodeBuild
list-projectsGets a list of build project names, with each build project name representing a single build project
list-report-groupsGets a list ARNs for the report groups in the current AWS account
list-reportsReturns a list of ARNs for the reports in the current AWS account
list-reports-for-report-groupReturns a list of ARNs for the reports that belong to a ReportGroup
list-shared-projectsGets a list of projects that are shared with other AWS accounts or users
list-shared-report-groupsGets a list of report groups that are shared with other AWS accounts or users
list-source-credentialsReturns a list of SourceCredentialsInfo objects
put-resource-policyStores a resource policy for the ARN of a Project or ReportGroup object
retry-buildRestarts a build
retry-build-batchRestarts a failed batch build. Only batch builds that have failed can be retried
start-buildStarts running a build
start-build-batchStarts a batch build for a project
stop-buildAttempts to stop running a build
stop-build-batchStops a running batch build
update-projectChanges the settings of a build project
update-report-groupUpdates a report group
update-webhookUpdates the webhook associated with an AWS CodeBuild build project. If you use Bitbucket for your repository, rotateSecret is ignored