Skip to content

build start recent

Mohamed Hassan edited this page Jan 1, 2025 · 4 revisions

Start build of branch most recent commit

Usage:

Appvey build start recent [...] [options]

Arguments:

<environment-variables> The list of key/value pairs separated by space. Every variable should be in the form: varName:value OR use file with @ prefix <@filename> containing key/value pairs.

Options:

  • -s, --slug Project slug [required]

  • -b, --branch Repository branch. [default: master]

  • -c, --cancel Allow to cancel build [default: False]

  • --browse Browse the build page using default browser [default: False]

  • Common options for all commands

Examples:

All examples is using auto login

Example 1: without environment variables and browse build page:

Appvey build start recent --slug myproject --browse

Example 2: using environment variables:

Appvey build start recent --slug myproject --browse  var1:value1  var2:value2

Example 3: using environment variables stored in response file:

Create file named myenv.txt like:

  REQUEST_ID:aa-bb-cc
  ARTIFACT_PATH:build/artifacts
Appvey build start recent --slug myproject --browse  @myenv.txt

  • User can browse the build page by using the option --browse
Appvey build start recent --slug cloudbuilder --browse

  • User can allow to cancel the build when start by option --cancel
Appvey build start recent --slug cloudbuilder --cancel

A confirmation messages is displayed: Cancel Build. Are you sure? (y/n) if y is entered, build will be cancelled

See also

Clone this wiki locally