Skip to content

build download artifacts

Mohamed Hassan edited this page Aug 27, 2024 · 2 revisions

artifacts: Download build artifacts of last build or by a version in the project

Usage:

Appvey build download artifacts [options]

Options:

  • -s, --slug Slug name [required]

  • -b, --branch Repository branch

  • -j, --job-id Build JobId

  • --build-version Build version. Both job-id and version are mutually exclusive, either JobId or Version must be specified

  • -l, --location Directory where to save artifacts, relative or absolute path [default: .]

  • --list Show artifacts without download [default: False]

  • -f, --filter Filter artifacts using wildcard symbols

  • Common options for all commands

Note:

The different ways to enter token/account, read How to login

Example:

1- Download all artifacts for specific version and save artifacts to the current directory:

Note:

  • To save artifacts to specific directory , enter option --location path/to/my/folder
appvey build download artifacts -s o2pgen-deploy  --version 6.3.3-signed-198 

2- Show artifacts without download: use option --list to show only artifacts without download

appvey build download artifacts -s o2pgen-deploy  --version 6.3.3-signed-198  --list

download list


3- Download artifacts for specific version and filter on files contain command string and save artifacts in current directory.

appvey build download artifacts -s o2pgen-deploy  --version 6.3.3-signed-198 --filter command

download list

Note:

  • filter can be wildchar * (any char) or ? single char.
Clone this wiki locally