Stop batch builds in AWS CodeBuild (original) (raw)
Stop a batch build (console)Stop a batch build (AWS CLI)Stop a batch build (AWS SDKs)
You can use the AWS CodeBuild console, AWS CLI,or AWS SDKs to stop a batch build in AWS CodeBuild.
Note
If you use Lambda compute in your batch build, the in-progress Lambda build cannot be stopped.
Topics
Stop a batch build (console)
- Open the AWS CodeBuild console at https://console.aws.amazon.com/codesuite/codebuild/home.
- Do one of the following:
- If the**
build-project-name
:build-ID
** page is displayed, choose Stop build. - In the navigation pane, choose Build history. In the list of builds, select the box for the build, and then chooseStop build.
- In the navigation pane, choose Build projects. In the list of build projects, in the Name column, choose the link for the build project's name. In the list of builds, select the box for the build, and then choose Stop build.
- If the**
Note
By default, only the most recent 100 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.
Stop a batch build (AWS CLI)
- Run the stop-build-batch command:
aws codebuild stop-build-batch --id <batch-build-id>
In the preceding command, replace the following placeholder:
<batch-build-id>
: Required string. The identifier of the batch build to stop. To get a list of batch build identifiers, see the following topics:
* View a list of batch build IDs (AWS CLI)
* View a list of batch build IDs for a build project (AWS CLI)
Stop a batch build (AWS SDKs)
For more information about using AWS CodeBuild with the AWS SDKs, see the AWS SDKs and tools reference.
Stop builds
Trigger builds automatically
Did this page help you? - Yes
Thanks for letting us know we're doing a good job!
If you've got a moment, please tell us what we did right so we can do more of it.
Did this page help you? - No
Thanks for letting us know this page needs work. We're sorry we let you down.
If you've got a moment, please tell us how we can make the documentation better.