Skip to main content

Get

Command

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

For more information, you can run vela get build --help.

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
tip

This command also supports setting the following parameters via a configuration file:

  • org
  • repo
  • output

For more information, please review the CLI config documentation.

Permissions

COMING SOON!

Sample

warning

This section assumes you have already installed and setup the CLI.

To install the CLI, please review the installation documentation.

To setup the CLI, please review the authentication documentation.

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 ...