mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
18 lines
473 B
Plaintext
18 lines
473 B
Plaintext
// Module included in the following assemblies:
|
|
// * builds/basic-build-operations.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="builds-basic-cancel-all-state_{context}"]
|
|
= Canceling all builds in a given state
|
|
|
|
You can cancel all builds in a given state, such as `new` or `pending`, while ignoring the builds in other states.
|
|
|
|
.Procedure
|
|
|
|
* To cancel all in a given state, enter the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc cancel-build bc/<buildconfig_name>
|
|
----
|