mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-06 06:46:26 +01:00
17 lines
411 B
Plaintext
17 lines
411 B
Plaintext
// Module included in the following assemblies:
|
|
// * builds/basic-build-operations.adoc
|
|
|
|
[id="builds-basic-cancel-all-state_{context}"]
|
|
= Canceling all builds in a given state
|
|
|
|
You can cancel all builds in a given state (for example, `new` or `pending`), ignoring the builds in other states.
|
|
|
|
.Procedure
|
|
|
|
To cancel all in a given state, run:
|
|
|
|
[source,terminal]
|
|
----
|
|
$ oc cancel-build bc/<buildconfig_name>
|
|
----
|