---
description: Reference for Capawesome Cloud native build environment variables — the default CI_* variables and the reserved variables you can set.
title: Environment Variables Reference - Capawesome
image: https://capawesome.io/docs/assets/images/social/cloud/native-builds/environment-variables.png
---

<!doctype html> 

[Skip to content ](#environment-variables) 

[🔐 Introducing the **Capacitor Vault** plugin — store secrets behind biometrics or a device passcode. ](/blog/announcing-the-capacitor-vault-plugin/) 

* [ SDKs ](/docs/sdks/)
* [ Formbricks ](/docs/sdks/capacitor/formbricks/)
* [ Geocoder ](/docs/sdks/capacitor/geocoder/)
* [ Google Sign-In ](/docs/sdks/capacitor/google-sign-in/)
* [ Grafana Faro ](/docs/sdks/capacitor/grafana-faro/)
* [ libSQL ](/docs/sdks/capacitor/libsql/)
* [ Live Update ](/docs/sdks/capacitor/live-update/)
* [ Managed Configurations ](/docs/sdks/capacitor/managed-configurations/)
* [ Media Session ](/docs/sdks/capacitor/media-session/)
* [ ML Kit ](/docs/sdks/capacitor/mlkit/)
* [ Navigation Bar ](/docs/sdks/capacitor/navigation-bar/)
* [ NFC ](/docs/sdks/capacitor/nfc/)
* [ OAuth ](/docs/sdks/capacitor/oauth/)
* [ Pedometer ](/docs/sdks/capacitor/pedometer/)
* [ Photo Editor ](/docs/sdks/capacitor/photo-editor/)
* [ PostHog ](/docs/sdks/capacitor/posthog/)
* [ Printer ](/docs/sdks/capacitor/printer/)
* [ Purchases ](/docs/sdks/capacitor/purchases/)
* [ RealtimeKit ](/docs/sdks/capacitor/realtimekit/)
* [ Screen Orientation ](/docs/sdks/capacitor/screen-orientation/)
* [ Screenshot ](/docs/sdks/capacitor/screenshot/)
* [ Secure Preferences ](/docs/sdks/capacitor/secure-preferences/)
* [ Speech Recognition ](/docs/sdks/capacitor/speech-recognition/)
* [ Speech Synthesis ](/docs/sdks/capacitor/speech-synthesis/)
* [ Share Target ](/docs/sdks/capacitor/share-target/)
* [ Square Mobile Payments ](/docs/sdks/capacitor/square-mobile-payments/)
* [ SQLite ](/docs/sdks/capacitor/sqlite/)
* [ Superwall ](/docs/sdks/capacitor/superwall/)
* [ Torch ](/docs/sdks/capacitor/torch/)
* [ Vault ](/docs/sdks/capacitor/vault/)
* [ Wifi ](/docs/sdks/capacitor/wifi/)
* [ Zip ](/docs/sdks/capacitor/zip/)
* [ Cordova ](/docs/sdks/cordova/)
* [ Cloud ](/docs/cloud/)
* [ Integrations ](/docs/cloud/live-updates/integrations/)
* Concepts
* Reference
* [ Troubleshooting ](/docs/cloud/live-updates/troubleshooting/)
* [ FAQ ](/docs/cloud/live-updates/faq/)
* [ Native Builds ](/docs/cloud/native-builds/)
* [ Set Up Environments ](/docs/cloud/native-builds/environments/)
* [ Overwrite Native Configurations ](/docs/cloud/native-builds/native-configurations/)
* [ Auto-Increment Build Numbers ](/docs/cloud/native-builds/auto-incrementing-build-numbers/)
* [ Configure the Web Build Script ](/docs/cloud/native-builds/web-build-script/)
* [ Build from a Monorepo ](/docs/cloud/native-builds/monorepo/)
* [ Use pnpm, Yarn, or bun ](/docs/cloud/native-builds/package-managers/)
* [ Install Private npm Packages ](/docs/cloud/native-builds/npm-private-registry/)
* [ Override the Java Version ](/docs/cloud/native-builds/override-java-version/)
* [ Custom iOS Provisioning Profiles ](/docs/cloud/native-builds/custom-ios-provisioning-profiles/)
* [ Build without Git ](/docs/cloud/native-builds/build-without-git/)
* [ Access Git Behind a Firewall ](/docs/cloud/native-builds/firewall-access/)
* [ Integrations ](/docs/cloud/native-builds/integrations/)
* Reference
* [ Limits & Quotas ](/docs/cloud/native-builds/limits/)
* [ Estimate Usage ](/docs/cloud/native-builds/estimate-usage/)
* [ Sample Projects ](/docs/cloud/native-builds/sample-projects/)
* [ Troubleshooting ](/docs/cloud/native-builds/troubleshooting/)
* [ FAQ ](/docs/cloud/native-builds/faq/)
* [ App Store Publishing ](/docs/cloud/app-store-publishing/)
* [ Submit a Build ](/docs/cloud/app-store-publishing/submit-a-build/)
* [ Submit Automatically After a Build ](/docs/cloud/app-store-publishing/submit-automatically/)
* [ Troubleshooting ](/docs/cloud/app-store-publishing/troubleshooting/)
* [ FAQ ](/docs/cloud/app-store-publishing/faq/)
* [ Automations ](/docs/cloud/automations/)
* [ Reference ](/docs/cloud/automations/reference/)
* [ Troubleshooting ](/docs/cloud/automations/troubleshooting/)
* [ FAQ ](/docs/cloud/automations/faq/)
* [ Assist ](/docs/cloud/assist/)
* [ CLI ](/docs/cloud/cli/)
* APIs and SDKs
* [ Webhooks ](/docs/cloud/webhooks/)
* [ Integrations ](/docs/cloud/integrations/)
* Account
* [ Organization ](/docs/cloud/organizations/)
* [ Two-Factor Enforcement ](/docs/cloud/organizations/two-factor-authentication/)
* [ Audit Logs ](/docs/cloud/organizations/audit-logs/)
* [ Billing ](/docs/cloud/organizations/billing/)
* [ License Keys ](/docs/cloud/license-keys/)
* [ AI ](/docs/ai/)
* [ Insiders ](/docs/insiders/)
* [ Billing & Plans ](/docs/insiders/billing-and-plans/)
* [ FAQ ](/docs/insiders/faq/)
* [ License ](https://capawesome.io/legal/eula/)
* [ Support ](/docs/support/)
* [ Contributing ](/docs/contributing/)
* Contributing code
* [ Code of Conduct ](/docs/contributing/code-of-conduct/)
* [ Questions ](https://docs.github.com/en/discussions/collaborating-with-your-community-using-discussions/participating-in-a-discussion#creating-a-discussion)
* [ Blog ](/blog/)
* Categories

# Environment Variables[¶](#environment-variables "Permanent link")

This page lists the environment variables available during native builds. To set your own variables and secrets, see [Set Up Environments](/docs/cloud/native-builds/environments/).

## Default variables[¶](#default-variables "Permanent link")

These are set automatically by Capawesome Cloud for every build and cannot be overridden. Use them in your build scripts to access information about the build context.

| Name                     | Type    | Description                               |
| ------------------------ | ------- | ----------------------------------------- |
| CI                       | boolean | Always true — indicates a CI environment. |
| CI\_APP\_ID              | string  | The ID of the application.                |
| CI\_BUILD\_ID            | string  | Unique identifier for the build.          |
| CI\_BUILD\_NUMBER        | string  | Sequential number of the build.           |
| CI\_GIT\_COMMIT\_SHA     | string  | The SHA of the Git commit.                |
| CI\_GIT\_COMMIT\_MESSAGE | string  | The commit message.                       |
| CI\_GIT\_REFERENCE       | string  | The Git branch or tag name.               |
| CI\_PLATFORM             | string  | The target platform (ios or android).     |

## Reserved variables[¶](#reserved-variables "Permanent link")

These configure platform-specific build behavior. Set them in a [custom environment](/docs/cloud/native-builds/environments/) or as ad-hoc variables.

| Name                            | Type   | Description                                                                                                                                    |
| ------------------------------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| ANDROID\_BUILD\_TYPE            | string | The Android build type.                                                                                                                        |
| ANDROID\_FLAVOR                 | string | The Android product flavor.                                                                                                                    |
| IOS\_PROVISIONING\_PROFILE\_MAP | string | JSON mapping bundle IDs to target names (see [Custom iOS provisioning profiles](/docs/cloud/native-builds/custom-ios-provisioning-profiles/)). |
| IOS\_SCHEME                     | string | The iOS scheme name.                                                                                                                           |
| NODE\_VERSION                   | int    | The Node.js major version (e.g. 22, 24).                                                                                                       |
| JAVA\_VERSION                   | int    | The Java major version (e.g. 17, 21).                                                                                                          |
| XCODE\_VERSION                  | int    | The Xcode major version (e.g. 16, 26).                                                                                                         |

Tool versions

The supported versions for Node.js, Java, and Xcode depend on your build stack — see [Build stacks](/docs/cloud/native-builds/build-stacks/).

June 8, 2026 

Back to top