Skip to main content

ionic-cloud build download-artifact

[ionic-cloud, build, download-artifact]

Download artifacts associated with a successful Appflow build

ionic-cloud build download-artifact [flags]

Examples

ionic-cloud build download-artifact --app-id=a1234bc --build-id=456 --aab
ionic-cloud build download-artifact --app-id=a1234bc --build-id=456 --aab-name=mapp.aab
ionic-cloud build download-artifact --app-id=a1234bc --build-id=456 --aab-name=mapp.aab --apk-name=mapp.apk

Flags

NameTypeDefaultDescription
--app-id [required]stringAppflow app id
--build-id [required]numberAppflow build ID
--aabbooleanfalseDownload aab file
--aab-namestringDownload aab and rename file. Example: mapp.aab
--apkbooleanfalseDownload apk file
--apk-namestringDownload apk and rename file. Example: myapp.apk
--app-filebooleanfalseDownload app file (simulator builds only)
--app-file-namestringDownload app and rename file (simulator builds only). Example: myapp.app
--dsymbooleanfalseDownload dsym zip file
--dsym-namestringDownload dsym zip and rename file. Example: myapp.dsym.zip
--ipabooleanfalseDownload ipa file
--ipa-namestringDownload ipa and rename file. Example: myapp.ipa
--xcarchivebooleanfalseDownload xcarchive zip file
--xcarchive-namestringDownload xcarchive zip and rename file. Example: myapp.xcarchive.zip
--zipbooleanfalseDownload zip file
--zip-namestringDownload zip and rename file. Example: myapp.zip

Global Flags

NameTypeDefaultDescription
-h, --helpbooleanfalsePrint help information for command
--configstringIonic Cloud config file (.ionic-cloud.yaml by default)
--jsonbooleanfalseFor commands with output, shortcut to print as JSON
--outputstring"text"For commands with output, print as [json] or human readable [text]
--tokenstringIonic authorization token

Outputs

NameTypeDescription
artifacts (optional){ "APK": string, ... }All artifacts that were saved by Appflow during a build, and are available for download.
{
"artifacts": {
"AAB": "ionic-app-main-cef1sdca-debug.aab",
"APK": "ionic-app-main-cef1sdca-debug.apk"
}
}