Skip to main content

ionic-cloud get build

[ionic-cloud, get, build]

Get info for a build in Appflow

ionic-cloud get build [flags]

Examples

ionic-cloud info build --app-id=b3456cd --build-id=456

Flags

NameTypeDefaultDescription
--app-id [required]stringAppflow app id
--build-id [required]numberAppflow build id

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
appIdstringYour app's unique identifier in Appflow.
buildId (optional)numberA unique identifier for a build done in Appflow.
buildNumber (optional)numberAn app-specific build number for builds done in Appflow.
buildStatus"CREATED" | "PENDING" | "RUNNING" | "FAILED" | "SUCCESS" | "CANCELED"The current state of your build in Appflow.
platform"ANDROID" | "IOS" | "WEB"The ecosystem you are building for.
commitstringThe commit hash.
buildStackobjectA Build Stack in Appflow.
.namestringThe friendly name for a Build Stack in Appflow.
.dependencies (optional)object[]The list of pinned software versions for a Build Stack in Appflow.
.namestringThe name of a software used by a Build Stack in Appflow.
.versionstringThe pinned version of a software used by a Build Stack in Appflow.
environment (optional)objectThe Environment for your build in Appflow.
.namestringThe name of an Environment you've created in Appflow.
.files (optional)string[]The list of local environment files provided to this command.
.variables (optional){ "string": string, ... }The combined list of all environment variables used for a build.
.secrets (optional){ "string": string, ... }The combined list of all environment secrets used for a build. The key values are not downloaded; the key names are just displayed for reference.
artifacts (optional){ "APK": string, ... }All artifacts that were saved by Appflow during a build, and are available for download.
signingCert (optional)stringThe signing certificate used by Appflow to deploy a build to the App Stores.
buildType (optional)stringThe kind of native build done by Appflow, e.g. dev or release builds.
nativeConfig (optional)objectA Native Config to manipulate your build in Appflow.
.name (optional)stringThe name of a Native Config you've created in Appflow.
.ionic (optional)objectThese Native Config variables allow you to override properties used by the Live Updates Plugin.
.channelName (optional)stringThe name of a channel that hosts Live Updates.
.minBackgroundDuration (optional)numberThe number of seconds the app needs to be in the background before the Live Updates Plugin considers it closed.
.updateMethod (optional)stringThe update method for the Live Updates Plugin to use.
.appId (optional)stringYour app's unique identifier in Appflow.
.maxStore (optional)numberThe maximum number of updates for the Live Updates Plugin to store on the device.
.disableDeploy (optional)booleanWhether the Live Updates Plugin should be disabled or not.
.base (optional)objectThese Native Config variables allow you to override properties on a Native Build.
.name (optional)stringOverride the home screen name for a Native Build.
.bundleId (optional)stringOverride the bundle identifier for a Native Build.
androidMin (optional)stringThe Native Binary version that is the minimum required in order to use this Live Update.
androidMax (optional)stringThe Native Binary version that is the maximum still allowed to use this Live Update.
androidEq (optional)stringThe Native Binary version that should be considered equivalent and ignore this Live Update.
iosMin (optional)stringThe Native Binary version that is the minimum required in order to use this Live Update.
iosMax (optional)stringThe Native Binary version that is the maximum still allowed to use this Live Update.
iosEq (optional)stringThe Native Binary version that should be considered equivalent and ignore this Live Update.
Successful Output
{
"appId": "052b32ac",
"buildId": 6010455,
"buildNumber": 25,
"buildStatus": "SUCCESS",
"platform": "ANDROID",
"commit": "cef1sdca",
"buildStack": {
"name": "Linux - 2022.10",
"dependencies": [
{
"name": "Cordova CLI",
"version": "11.0.0"
},
{
"name": "Ionic CLI",
"version": "6.20.3"
},
{
"name": "Node.js",
"version": "18.12.1"
},
{
"name": "Node.js versions",
"version": "14.21.1 / 16.18.1 / 18.12.1"
},
{
"name": "npm",
"version": "8.19.3"
},
{
"name": "Yarn",
"version": "1.22.19"
},
{
"name": "Python",
"version": "3"
},
{
"name": "Debian",
"version": "11.4"
},
{
"name": "Gradle",
"version": "5.6.4"
},
{
"name": "OpenJDK",
"version": "1.8.0_332 / 11.0.16"
},
{
"name": "Android SDK",
"version": "27-33"
}
]
},
"environment": {
"name": "Test Environment",
"files": [
".env-file1",
".env-file2"
],
"variables": {
"Var1": "value1",
"Var2": "value2"
},
"secrets": {
"Sec1": "********",
"Sec2": "********"
}
},
"artifacts": {
"AAB": "ionic-app-main-cef1sdca-debug.aab",
"APK": "ionic-app-main-cef1sdca-debug.apk"
},
"signingCert": "Android Signing Certificate Name",
"buildType": "DEBUG",
"nativeConfig": {
"name": "Default Configuration",
"ionic": {
"channelName": "Production",
"minBackgroundDuration": 30,
"updateMethod": "auto",
"appId": "052b32ac",
"maxStore": 3,
"disableDeploy": false
},
"base": {
"name": "Ionic App",
"bundleId": "com.ionicapp.bundle"
}
},
"androidMin": null,
"androidMax": null,
"androidEq": null,
"iosMin": null,
"iosMax": null,
"iosEq": null
}
Failed Output