Cancel

Learn how to cancel a build.

Command

$ vela cancel build <parameters...> 

Parameters

The following parameters are used to configure the command:

NameDescriptionEnvironment Variables
orgname of organization for the buildVELA_ORG, BUILD_ORG
reponame of repository for the buildVELA_REPO, BUILD_REPO
buildnumber of the buildVELA_BUILD, BUILD_NUMBER
outputformat the output for the buildVELA_OUTPUT, BUILD_OUTPUT

Permissions

COMING SOON!

Sample

Request

$ pwd
~/github/octocat
$ vela cancel build --build 1

Targeted Request

$ vela cancel build --org github --repo octocat --build 1

Response

canceled build github/octocat/1