Get

Learn how to list builds.

Command

$ vela get build <parameters...> <arguments...>

Parameters

The following parameters are used to configure the command:

NameDescriptionEnvironment Variables
orgname of organization for the buildsVELA_ORG, BUILD_ORG
reponame of repository for the buildsVELA_REPO, BUILD_REPO
eventname of event filter for the buildsVELA_EVENT, BUILD_EVENT
statusname of status filter for the buildsVELA_STATUS, BUILD_STATUS
branchname of branch filter for the buildsVELA_BRANCH, BUILD_BRANCH
outputformat the output for the buildsVELA_OUTPUT, BUILD_OUTPUT
pageprints a specific page of buildsVELA_PAGE, BUILD_PAGE
per.pagenumber of builds to print per pageVELA_PER_PAGE, BUILD_PER_PAGE

Permissions

COMING SOON!

Sample

Request

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

Targeted Request

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

Response

NUMBER  STATUS  EVENT   BRANCH  DURATION
5       failure push    main  45s
4       failure push    main  50s
3       success push    main  54s
2       success push    main  55s
1       pending push    main  ...
Last modified September 16, 2022: chore: use main as default (#324) (400aa851)