TeamCity · Documentation

Info

How builds run

Environment variables

Variable Used for
POLIS_GIT_TOKEN GitHub token for fetching and pushing tags over HTTPS. Git reads it from the process environment, it never lands on the command line or on disk
POLIS_RELEASE_UPLOAD_KEY Release upload key for the publish step and content updates
POLIS_APP_SECRET App secret for the publish file and PSO downloads, a global upload key needs it to know its app. Not set in TeamCity: the secret in ServiceHubSettings goes along when the hub is the one set there. The publish step reads it only when the publish file has no secret
POLIS_SERVICE_URL ServiceHub address for the build tools, e.g. a test hub. Else the one in ServiceHubSettings
POLIS_SERVICEHUB_PUBLISH Set by the Unity step: the path of servicehub-publish.json for the publish step
KEYSTORE_PATH, KEYSTORE_ALIAS, KEYSTORE_STOREPASS, KEYSTORE_KEYPASS Android signing, in place of the user config's keystore, the app config's alias and the OS credential store
IOS_TEAM_ID iOS signing team