Get

Learn how to list logs for a build.

Command

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

Parameters

The following parameters are used to configure the command:

NameDescriptionEnvironment Variables
orgname of organization for the logVELA_ORG, LOG_ORG
reponame of repository for the logVELA_REPO, LOG_REPO
buildnumber of the build for the logVELA_BUILD, LOG_BUILD
outputformat the output for the logsVELA_OUTPUT, LOG_OUTPUT

Permissions

COMING SOON!

Sample

Request

$ pwd
~/github/octocat
$ vela get log --build 5

Targeted Request

$ vela get log --org github --repo octocat --build 5

Response

$ git init
Initialized empty Git repository in /vela/src/github.com/github/octocat/.git/
$ git remote add origin https://github.com/github/octocat.git
$ git remote --verbose
origin  https://github.com/github/octocat.git (fetch)
origin  https://github.com/github/octocat.git (push)
$ git fetch --no-tags origin refs/heads/main
From https://github.com/github/octocat
 * branch            main     -> FETCH_HEAD
 * [new branch]      main     -> origin/main
$ git reset --hard afafce5e33a8efd4340613b31a953107d6dec3a3
HEAD is now at afafce5 Dummy commit

$ echo "Hello World!"
Hello World!
Last modified September 16, 2022: chore: use main as default (#324) (400aa851)