// Module included in the following assemblies:
// * builds/basic-build-operations.adoc

:_mod-docs-content-type: PROCEDURE
[id="builds-basic-cancel-build_{context}"]
= Canceling a build

You can cancel a build using the web console, or with the following CLI command.

.Procedure

* To manually cancel a build, enter the following command:
+
[source,terminal]
----
$ oc cancel-build <build_name>
----
