Environment variables that are set by AppVeyor for every build:
APPVEYOR - True (true on Ubuntu image) if build runs in AppVeyor environmentCI - True (true on Ubuntu image) if build runs in AppVeyor environmentAPPVEYOR_URL - AppVeyor central server(s) URL, https://ci.appveyor.com for Hosted service, specific server URL for on-premiseAPPVEYOR_API_URL - AppVeyor Build Agent API URLAPPVEYOR_ACCOUNT_NAME - account nameAPPVEYOR_PROJECT_ID - AppVeyor unique project IDAPPVEYOR_PROJECT_NAME - project nameAPPVEYOR_PROJECT_SLUG - project slug (as seen in project details URL)APPVEYOR_BUILD_FOLDER - path to clone directoryAPPVEYOR_BUILD_ID - AppVeyor unique build IDAPPVEYOR_BUILD_NUMBER - build numberAPPVEYOR_BUILD_VERSION - build versionAPPVEYOR_BUILD_WORKER_IMAGE - current build worker image the build is running on, e.g. Visual Studio 2015 (also can be used as “tweak” environment variable to set build worker image)APPVEYOR_PULL_REQUEST_NUMBER - Pull (Merge) Request numberAPPVEYOR_PULL_REQUEST_TITLE - Pull (Merge) Request titleAPPVEYOR_PULL_REQUEST_HEAD_REPO_NAME - Pull (Merge) Request source repoAPPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH - Pull (Merge) Request source branchAPPVEYOR_PULL_REQUEST_HEAD_COMMIT - Pull (Merge) Request source commit ID (SHA)APPVEYOR_JOB_ID - AppVeyor unique job IDAPPVEYOR_JOB_NAME - job nameAPPVEYOR_JOB_NUMBER - job number, i.g. 1, 2, etc.APPVEYOR_REPO_PROVIDER - gitHub, bitBucket, kiln, vso, gitLab, gitHubEnterprise, gitLabEnterprise, stash, gitea, git, mercurial or subversionAPPVEYOR_REPO_SCM - git or mercurialAPPVEYOR_REPO_NAME - repository name in format owner-name/repo-nameAPPVEYOR_REPO_BRANCH - build branch. For Pull Request commits it is base branch PR is merging intoAPPVEYOR_REPO_TAG - true if build has started by pushed tag; otherwise falseAPPVEYOR_REPO_TAG_NAME - contains tag name for builds started by tag; otherwise this variable is undefinedAPPVEYOR_REPO_COMMIT - commit ID (SHA)APPVEYOR_REPO_COMMIT_AUTHOR - commit author’s nameAPPVEYOR_REPO_COMMIT_AUTHOR_EMAIL - commit author’s email addressAPPVEYOR_REPO_COMMIT_TIMESTAMP - commit date/time in ISO 8601 formatAPPVEYOR_REPO_COMMIT_MESSAGE - commit messageAPPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED - the rest of commit message after line break (if exists)APPVEYOR_SCHEDULED_BUILD - True if the build runs by schedulerAPPVEYOR_FORCED_BUILD (True or undefined) - builds started by “New build” button or from the same APIAPPVEYOR_RE_BUILD (True or undefined) - build started by “Re-build commit/PR” button of from the same APIAPPVEYOR_RE_RUN_INCOMPLETE (True or undefined) - build job started by “Re-run incomplete” button of from the same APIPLATFORM - platform name set on Build tab of project settings (or through platform parameter in appveyor.yml)CONFIGURATION - configuration name set on Build tab of project settings (or through configuration parameter in appveyor.yml)APPVEYOR_ARTIFACT_UPLOAD_TIMEOUT - artifact upload timeout in seconds. Default is 600 (10 minutes)APPVEYOR_FILE_DOWNLOAD_TIMEOUT - timeout in seconds to download arbitrary files using appveyor DownloadFile command. Default is 300 (5 minutes)APPVEYOR_REPOSITORY_SHALLOW_CLONE_TIMEOUT - timeout in seconds to download repository (GitHub, Bitbucket or Azure DevOps) as zip file (shallow clone). Default is 1800 (30 minutes)APPVEYOR_CACHE_ENTRY_UPLOAD_DOWNLOAD_TIMEOUT - timeout in seconds to download or upload each cache entry. Default is 300 (5 minutes)APPVEYOR_CACHE_SKIP_RESTORE - set to true to disable cache restoreAPPVEYOR_CACHE_SKIP_SAVE - set to true to disable cache updateAPPVEYOR_WAP_ARTIFACT_NAME - custom name for WAP artifact (default is the same as project name)APPVEYOR_WAP_SKIP_ACLS - set to true to create WAP package, which will prevent Web Deploy from updating ACLsAPPVEYOR_BUILD_WORKER_IMAGE - set build worker image for build to run on. Can be done only at build configuration level, not at build timeAPPVEYOR_SKIP_FINALIZE_ON_EXIT - if appveyor exit or Exit-AppVeyor build was called, exit build even without Finalize steps (on_success, on_finish scripts and build cache save)APPVEYOR_SAVE_CACHE_ON_ERROR - save build cache on build failure. By default build cache is being saved only during successful build Finalize stepsAPPVEYOR_ACS_DEPLOYMENT_UPGRADE_MODE - Exposes DeploymentUpgradeMode Enumeration when deploying Azure Cloud Service. Default value is Auto. Set it to Manual or Simultaneous if different behavior is required.APPVEYOR_IGNORE_COMMIT_FILTERING_ON_TAG - if set to true, tagged build does not respect commit filtering (except built-in [skip ci] / [ci skip] / [skip appveyor] in the commit message), branches white- and blacklisting, as well as skip_tags: true.