mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 10:35:03 +00:00
47 lines
1.4 KiB
Text
47 lines
1.4 KiB
Text
NAME
|
|
gcloud alpha builds cancel - cancel an ongoing build
|
|
|
|
SYNOPSIS
|
|
gcloud alpha builds cancel BUILDS [BUILDS ...] [--region=REGION]
|
|
[GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
(ALPHA) Cancel an ongoing build.
|
|
|
|
EXAMPLES
|
|
To cancel a build 123-456-789:
|
|
|
|
$ gcloud alpha builds cancel '123-456-789'
|
|
|
|
You may also cancel multiple builds at the same time:
|
|
|
|
$ gcloud alpha builds cancel '123-456-789', '987-654-321'
|
|
|
|
POSITIONAL ARGUMENTS
|
|
BUILDS [BUILDS ...]
|
|
IDs of builds to cancel
|
|
|
|
FLAGS
|
|
--region=REGION
|
|
The region of the Cloud Build Service to use. Must be set to a
|
|
supported region name (e.g. us-central1). If unset, the global service
|
|
region is used. This field is restricted.
|
|
|
|
GCLOUD WIDE FLAGS
|
|
These flags are available to all commands: --access-token-file, --account,
|
|
--billing-project, --configuration, --flags-file, --flatten, --format,
|
|
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
|
--trace-token, --user-output-enabled, --verbosity.
|
|
|
|
Run $ gcloud help for details.
|
|
|
|
NOTES
|
|
This command is currently in alpha and might change without notice. If this
|
|
command fails with API permission errors despite specifying the correct
|
|
project, you might be trying to access an API with an invitation-only early
|
|
access allowlist. These variants are also available:
|
|
|
|
$ gcloud builds cancel
|
|
|
|
$ gcloud beta builds cancel
|
|
|