- NAME
-
- gcloud beta builds cancel - cancel an ongoing build
- SYNOPSIS
-
-
gcloud beta builds cancel
BUILDS
[BUILDS
…] [--region
=REGION
] [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
(BETA)
Cancel an ongoing build. - EXAMPLES
-
To cancel a build
123-456-789
:gcloud beta builds cancel '123-456-789'
You may also cancel multiple builds at the same time:
gcloud beta 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,builds/region
, which is the default region to use when working with Cloud Build resources, is used. If builds/region is unset, region is set toglobal
. Note: Region must be specified in 2nd gen repo;global
is not supported.
- 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 beta and might change without notice. These
variants are also available:
gcloud builds cancel
gcloud alpha builds cancel
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-02-06 UTC.