{"id":15694073,"url":"https://github.com/yakdriver/azure-pipelines-environment-variables","last_synced_at":"2025-06-26T02:37:37.391Z","repository":{"id":97599618,"uuid":"200137920","full_name":"YakDriver/azure-pipelines-environment-variables","owner":"YakDriver","description":"Azure DevOps Pipelines CI Windows available environment variables","archived":false,"fork":false,"pushed_at":"2019-09-24T15:37:24.000Z","size":40,"stargazers_count":11,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-08T07:17:30.441Z","etag":null,"topics":["azure","azure-devops","azure-pipelines"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/YakDriver.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-02T00:44:34.000Z","updated_at":"2025-04-27T04:31:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"ee0d57ae-b24d-4ffe-8920-d02bd452f800","html_url":"https://github.com/YakDriver/azure-pipelines-environment-variables","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/YakDriver/azure-pipelines-environment-variables","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YakDriver%2Fazure-pipelines-environment-variables","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YakDriver%2Fazure-pipelines-environment-variables/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YakDriver%2Fazure-pipelines-environment-variables/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YakDriver%2Fazure-pipelines-environment-variables/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YakDriver","download_url":"https://codeload.github.com/YakDriver/azure-pipelines-environment-variables/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YakDriver%2Fazure-pipelines-environment-variables/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261988000,"owners_count":23240947,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure","azure-devops","azure-pipelines"],"created_at":"2024-10-03T18:51:59.531Z","updated_at":"2025-06-26T02:37:37.342Z","avatar_url":"https://github.com/YakDriver.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# azure-pipelines-environment-variables\nAzure DevOps Pipelines CI Windows available environment variables\n\n# Basic terminology\n\nHere are some very basic terms that make understanding the variables easier.\n\n* A **build** is the collection of all the agents, jobs and steps resulting from an event such as submitting a pull request. Depending on how it is configured, a single build may include the use of many different agents, potentially on different operating systems and architectures.\n* An **agent** is the process that runs a build on a specific container (i.e., machine). Builds have one or more agents.\n* A **job** is a portion of the work to be done by an agent as part of a build. Builds can have zero or more jobs.\n* A **step** is a portion of the work to be done by a job. Jobs can have zero or more steps.\n* A **task** is a pre-configured step that may require inputs to perform functionality. A task is roughly equivalent to a function call.\n\n# Azure Pipelines Windows Environment Variables\n\n## AGENT_BUILDDIRECTORY\n\nDescription: Build directory for the job.\n\nExample: `D:\\a\\1`\n\n## AGENT_DISABLELOGPLUGIN_TESTFILEPUBLISHERPLUGIN\n\nDescription: Disable log plugin test file publisher plugin for the job.\n\nExample: `true`\n\n## AGENT_DISABLELOGPLUGIN_TESTRESULTLOGPLUGIN\n\nDescription: Disable log plugin test result log plugin for the job.\n\nExample: `true`\n\n## AGENT_HOMEDIRECTORY\n\nDescription: Home directory for the agent.\n\nExample: `C:\\agents\\2.155.1`\n\n## AGENT_ID\n\nDescription: Agent ID.\n\nExample: `78`\n\n## AGENT_JOBNAME\n\nDescription: Job display name.\n\nExample: `environment variables`\n\n## AGENT_JOBSTATUS\n\nDescription: Status of the job.\n\nExample: `Succeeded`\n\n## AGENT_MACHINENAME\n\nDescription: Machine name.\n\nExample: `fv-az433`\n\n## AGENT_NAME\n\nDescription: Agent name.\n\nExample: `Hosted Agent`\n\n## AGENT_OS\n\nDescription: OS for the job.\n\nExample: `Windows_NT`\n\n## AGENT_OSARCHITECTURE\n\nDescription: Whether the agent is running on x64 or x86 architecture.\n\nExample: `X64`\n\n## AGENT_RETAINDEFAULTENCODING\n\nDescription: Retain default encoding in job.\n\nExample: `false`\n\n## AGENT_ROOTDIRECTORY\n\nDescription: Root directory for the job.\n\nExample: `D:\\a`\n\n## AGENT_SERVEROMDIRECTORY\n\nDescription: OM directory for the job.\n\nExample: `C:\\agents\\2.155.1\\externals\\vstsom`\n\n## AGENT_TEMPDIRECTORY\n\nDescription: The agent's temp directory.\n\nExample: `D:\\a\\_temp`\n\n## AGENT_TOOLSDIRECTORY\n\nDescription: Tool's directory.\n\nExample: `C:/hostedtoolcache/windows`\n\n## AGENT_VERSION\n\nDescription: The agent version.\n\nExample: `2.155.1`\n\n## AGENT_WORKFOLDER\n\nDescription: The agent workfolder.\n\nExample: `D:\\a`\n\n## agent.jobstatus\n\nDescription: The status of the job.\n\nExample: `Succeeded`\n\n## ALLUSERSPROFILE\n\nDescription: Location of all users' profile.\n\nExample: `C:\\ProgramData`\n\n## ANDROID_HOME\n\nDescription: Android home.\n\nExample: `C:\\Program Files (x86)\\Android\\android-sdk`\n\n## ANDROID_NDK_HOME\n\nDescription: Android NDK home.\n\nExample: `C:\\Microsoft\\AndroidNDK64\\android-ndk-r15c`\n\n## ANDROID_NDK_PATH\n\nDescription: Android NDK path.\n\nExample: `C:\\Microsoft\\AndroidNDK64\\android-ndk-r15c`\n\n## ANT_HOME\n\nDescription: Apache Ant home.\n\nExample: `C:\\ProgramData\\chocolatey\\lib\\ant\\apache-ant-1.10.5`\n\n## APPDATA\n\nDescription: App data directory.\n\nExample: `C:\\Users\\VssAdministrator\\AppData\\Roaming`\n\n## AZURE_EXTENSION_DIR\n\nDescription: Location of Azure extensions.\n\nExample: `C:\\Program Files\\Common Files\\AzureCliExtensionDirectory`\n\n## AZURE_HTTP_USER_AGENT\n\nDescription: HTTP user agent identification.\n\nExample: `VSTS_aea1cc4e-9bc6-4c7b-8950-a47d7d2e4e06_build_2_0`\n\n## BOOST_ROOT_1_69_0\n\nDescription: Boost root location for 1.69.0.\n\nExample: `C:\\Program Files\\Boost\\1.69.0`\n\n## BOOST_ROOT\n\nDescription: Boost root location.\n\nExample: `C:\\Program Files\\Boost\\1.69.0`\n\n## BUILD_ARTIFACTSTAGINGDIRECTORY\n\nDescription: Staging directory for the build artifacts.\n\nExample: `D:\\a\\1\\a`\n\n## BUILD_BINARIESDIRECTORY\n\nDescription: Binaries directory for the build.\n\nExample: `D:\\a\\1\\b`\n\n## BUILD_BUILDID\n\nDescription: Incrementing number giving build ID.\n\nExample: `64`\n\n## BUILD_BUILDNUMBER\n\nDescription: Name given to the build in the `azure-pipelines.yml`. This YAML line resulted in the example below: \n\n```yaml\nname: $(BuildDefinitionName)_$(Date:yyyyMMdd)$(Rev:.rr)\n```\n\nExample: `YakDriver.azure-pipelines-environment-variables_20190909.01`\n\n## BUILD_BUILDURI\n\nDescription: Build URI.\n\nExample: `vstfs:///Build/Build/64`\n\n## BUILD_CONTAINERID\n\nDescription: Container ID.\n\nExample: `4167856`\n\n## BUILD_DEFINITIONNAME\n\nDescription: The build definition name (`username.repository_name`).\n\nExample: `YakDriver.azure-pipelines-environment-variables`\n\n## BUILD_DEFINITIONVERSION\n\nDescription: The build definition version.\n\nExample: `1`\n\n## BUILD_QUEUEDBY\n\nDescription: Whether a user or webhook queued the build. If manually queued, the username will appear, or if queued by webhook from a Git host, e.g., GitHub, that name appears.\n\nExample: `GitHub` or `YakDriver` (username)\n\n## BUILD_QUEUEDBYID\n\nDescription: ID of the queueing entity.\n\nExample: `e692fbfb-6e19-6464-9e8d-e2533a449c63`\n\n## BUILD_REASON\n\nDescription: Semi-describes reasons for building.\n\nExample: `Manual` or `PullRequest` or `BatchedCI` (merged pull request or new tag)\n\n## BUILD_REPOSITORY_CLEAN\n\nDescription: Seems to always be false.\n\nExample: `False`\n\n## BUILD_REPOSITORY_GIT_SUBMODULECHECKOUT\n\nDescription: Whether repository submodules are to be checked out.\n\nExample: `False`\n\n## BUILD_REPOSITORY_ID\n\nDescription: The ID of the current repository (see `BUILD_REPOSITORY_NAME`).\n\nExample: `YakDriver/azure-pipelines-environment-variables`\n\n## BUILD_REPOSITORY_LOCALPATH\n\nDescription: Where the repository was cloned locally.\n\nExample: `D:\\a\\1\\s`\n\n## BUILD_REPOSITORY_NAME\n\nDescription: The name of the current repository (see `BUILD_REPOSITORY_ID`).\n\nExample: `YakDriver/azure-pipelines-environment-variables`\n\n## BUILD_REPOSITORY_PROVIDER\n\nDescription: The Git host that hosts the current repository.\n\nExample: `GitHub`\n\n## BUILD_REPOSITORY_URI\n\nDescription:\n\nExample: `https://github.com/YakDriver/azure-pipelines-environment-variables`\n\n## BUILD_REQUESTEDFOR\n\nDescription: Depends on whether manually launched or launched by webhook from, e.g., GitHub.\n\nExample: `GitHub` or `YakDriver` (username)\n\n## BUILD_REQUESTEDFOREMAIL\n\nDescription: If launched manually from Azure Pipelines, your associated email address will show up here.\n\nExample: `dirk@example.com`\n\n## BUILD_REQUESTEDFORID\n\nDescription:\n\nExample: `e692fbfb-6e19-6464-9e8d-e2533a449c63`\n\n## BUILD_SOURCEBRANCH\n\nDescription:\n\nPull request (PR) example: `refs/pull/1/merge`\n\nMerge pull request, or manual build on a branch example: `refs/heads/master`\n\nTag example: `refs/tags/v0.1.0`\n\n## BUILD_SOURCEBRANCHNAME\n\nDescription: This does not always contain the branch name, such as on a pull request, when it contains `merge`. If the build corresponds to a new tag, this contains the new tag name.\n\nPull request (PR) example: `merge`\n\nMerge pull request, or manual build on a branch example: `master`\n\nTag example: `v0.1.0`\n\n## BUILD_SOURCESDIRECTORY\n\nDescription:\n\nExample: `D:\\a\\1\\s`\n\n## BUILD_SOURCEVERSION\n\nDescription: Current Git hash of the target branch.\n\nExample: `6451d5a2ea8f90ff2453dc8d9b434d545041166d`\n\n## BUILD_SOURCEVERSIONAUTHOR\n\nDescription:\n\nExample: `Dirk Avery`\n\n## BUILD_SOURCEVERSIONMESSAGE\n\nDescription: For a pull request, this provides the Git hashes - the hash of the current commit and the hash of the branch head where the commit would be merged. On a manual build on a branch, this contains the commit message.\n\nPull request (PR) example: `Merge 4072182801f9d627f33593f2b0f38924d365cd0f into 6451d5a2ea8f90ff2453dc8d9b434d545041166d`\n\nManual build on a branch example: `Add ap yaml file` (Git commit message)\n\nTag example: `Merge pull request #1 from YakDriver/update-envs`\n\n## BUILD_STAGINGDIRECTORY\n\nDescription:\n\nExample: `D:\\a\\1\\a`\n\n## ChocolateyInstall\n\nDescription:\n\nExample: `C:\\ProgramData\\chocolatey`\n\n## ChromeWebDriver\n\nDescription:\n\nExample: `C:\\SeleniumWebDrivers\\ChromeDriver`\n\n## COBERTURA_HOME\n\nDescription:\n\nExample: `C:\\cobertura-2.1.1`\n\n## COMMON_TESTRESULTSDIRECTORY\n\nDescription:\n\nExample: `D:\\a\\1\\TestResults`\n\n## CommonProgramFiles(x86)\n\nDescription:\n\nExample: `C:\\Program Files (x86)\\Common Files`\n\n## COMMONPROGRAMFILES\n\nDescription: _(Camel case on CMD and PowerShell.)_\n\nExample: `C:\\Program Files\\Common Files`\n\n## CommonProgramW6432\n\nDescription:\n\nExample: `C:\\Program Files\\Common Files`\n\n## COMPUTERNAME\n\nDescription:\n\nExample: `fv-az433`\n\n## COMSPEC\n\nDescription: _(Camel case on CMD and PowerShell.)_\n\nExample: `C:\\windows\\system32\\cmd.exe`\n\n## CONDA\n\nDescription:\n\nExample: `C:\\Miniconda`\n\n## ENDPOINT_URL_SYSTEMVSSCONNECTION\n\nDescription: _(Bash only.)_\n\nExample: `https://dev.azure.com/yakdriver/`\n\n## EXEPATH\n\nDescription: _(Bash only.)_\n\nExample: `C:\\Program Files\\Git\\bin`\n\n## GeckoWebDriver\n\nDescription:\n\nExample: `C:\\SeleniumWebDrivers\\GeckoDriver`\n\n## GIT_TERMINAL_PROMPT\n\nDescription:\n\nExample: `0`\n\n## GOROOT_1_10_X64\n\nDescription:\n\nExample: `C:\\Go1.10.8`\n\n## GOROOT_1_11_X64\n\nDescription:\n\nExample: `C:\\Go1.11.12`\n\n## GOROOT_1_12_X64\n\nDescription:\n\nExample: `C:\\Go1.12.7`\n\n## GOROOT_1_9_X64\n\nDescription:\n\nExample: `C:\\Go1.9.7`\n\n## GOROOT\n\nDescription:\n\nExample: `C:\\Go1.12.7`\n\n## GRADLE_HOME\n\nDescription:\n\nExample: `C:\\ProgramData\\chocolatey\\lib\\gradle\\tools\\gradle-5.6`\n\n## HOME\n\nDescription: _(Bash only.)_\n\nExample: `/c/Users/VssAdministrator`\n\n## HOMEDRIVE\n\nDescription:\n\nExample: `C:`\n\n## HOMEPATH\n\nDescription:\n\nExample: `\\Users\\VssAdministrator`\n\n## IEWebDriver\n\nDescription:\n\nExample: `C:\\SeleniumWebDrivers\\IEDriver`\n\n## ImageVersion\n\nDescription:\n\nExample: `157.1`\n\n## INPUT_ARGUMENTS\n\nDescription: _(Bash only, arguments to the `env` command.)_\n\nExample: ``\n\n## JAVA_HOME_11_X64\n\nDescription:\n\nExample: `C:\\Program Files\\Java\\zulu-11-azure-jdk_11.33.15-11.0.4-win_x64`\n\n## JAVA_HOME_7_X64\n\nDescription:\n\nExample: `C:\\Program Files\\Java\\zulu-7-azure-jdk_7.31.0.5-7.0.232-win_x64`\n\n## JAVA_HOME_8_X64\n\nDescription:\n\nExample: `C:\\Program Files\\Java\\zulu-8-azure-jdk_8.40.0.25-8.0.222-win_x64`\n\n## JAVA_HOME\n\nDescription:\n\nExample: `C:\\Program Files\\Java\\zulu-8-azure-jdk_8.40.0.25-8.0.222-win_x64`\n\n## LOCALAPPDATA\n\nDescription:\n\nExample: `C:\\Users\\VssAdministrator\\AppData\\Local`\n\n## LOGONSERVER\n\nDescription:\n\nExample: `\\\\fv-az433`\n\n## M2_HOME\n\nDescription:\n\nExample: `C:\\ProgramData\\chocolatey\\lib\\maven\\apache-maven-3.6.1`\n\n## M2_REPO\n\nDescription:\n\nExample: `C:\\ProgramData\\m2`\n\n## M2\n\nDescription:\n\nExample: `\\bin`\n\n## MAVEN_OPTS\n\nDescription:\n\nExample: `-Xms256m`\n\n## MSDEPLOY_HTTP_USER_AGENT\n\nDescription:\n\nExample: `VSTS_aea1cc4e-9bc6-4c7b-8950-a47d7d2e4e06_build_2_0`\n\n## MSMPI_BIN\n\nDescription:\n\nExample: `C:\\Program Files\\Microsoft MPI\\Bin\\`\n\n## MSYSTEM\n\nDescription: _(Bash only.)_\n\nExample: `MINGW64`\n\n## NPM_CONFIG_CACHE\n\nDescription:\n\nExample: `C:\\npm\\cache`\n\n## NPM_CONFIG_PREFIX\n\nDescription:\n\nExample: `C:\\npm\\prefix`\n\n## NUMBER_OF_PROCESSORS\n\nDescription:\n\nExample: `2`\n\n## OS\n\nDescription:\n\nExample: `Windows_NT`\n\n## PATH\n\nDescription: _(Camel case on CMD and PowerShell.)_\n\nBash example: `/mingw64/bin:/usr/bin:/c/Users/VssAdministrator/bin:/c/agents/2.155.1/externals/git/cmd...`\n\nCMD and PowerShell example: `Path=C:\\agents\\2.155.1\\externals\\git\\cmd;C:/hostedtoolcache/windows\\Python\\3.6.8\\x64;C:/hostedtoolcache/windows\\Python\\3.6.8\\x64\\Scripts;C:\\Program Files\\Mercurial\\;C:\\vcpkg;C:\\cf-cli;C:\\Program Files (x86)\\NSIS\\;C:\\Program Files\\Mercurial\\;C:\\Program Files\\Boost\\1.69.0...`\n\n## PATHEXT\n\nDescription:\n\nExample: `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY`\n\n## PHPROOT\n\nDescription:\n\nExample: `c:\\tools\\php`\n\n## PIPELINE_WORKSPACE\n\nDescription:\n\nExample: `D:\\a\\1`\n\n## PLINK_PROTOCOL\n\nDescription: _(Bash only.)_\n\nExample: `ssh`\n\n## PROCESSOR_ARCHITECTURE\n\nDescription:\n\nExample: `AMD64`\n\n## PROCESSOR_IDENTIFIER\n\nDescription:\n\nExample: `Intel64 Family 6 Model 79 Stepping 1, GenuineIntel`\n\n## PROCESSOR_LEVEL\n\nDescription:\n\nExample: `6`\n\n## PROCESSOR_REVISION\n\nDescription:\n\nExample: `4f01`\n\n## ProgramData\n\nDescription:\n\nExample: `C:\\ProgramData`\n\n## ProgramFiles(x86)\n\nDescription:\n\nExample: `C:\\Program Files (x86)`\n\n## PROGRAMFILES\n\nDescription: _(Camel case on CMD and PowerShell.)_\n\nExample: `C:\\Program Files`\n\n## ProgramW6432\n\nDescription:\n\nExample: `C:\\Program Files`\n\n## PROMPT\n\nDescription: _(CMD only.)_\n\nExample: `$P$G`\n\n## PSModulePath\n\nDescription:\n\nExample: `C:\\Modules\\azurerm_2.1.0;C:\\Modules\\azure_2.1.0;C:\\Users\\packer\\Documents\\WindowsPowerShell\\Modules;C:\\Program Files\\WindowsPowerShell\\Modules;C:\\windows\\system32\\WindowsPowerShell\\v1.0\\Modules;C:\\Program Files\\Microsoft SQL Server\\130\\Tools\\PowerShell\\Modules\\`\n\n## PSExecutionPolicyPreference\n\nDescription: _(CMD and PowerShell only.)_\n\nExample: `Unrestricted`\n\n## PUBLIC\n\nDescription:\n\nExample: `C:\\Users\\Public`\n\n## PWD\n\nDescription:\n\nExample: `/d/a/1/s`\n\n## PYTHON_HOME\n\nDescription:\n\nExample: `C:/hostedtoolcache/windows\\Python\\3.6.8\\x64`\n\n## RUNNER_TOOLSDIRECTORY\n\nDescription:\n\nExample: `C:/hostedtoolcache/windows`\n\n## SHLVL\n\nDescription: _(Bash only.)_\n\nExample: `1`\n\n## SYSTEM_ARTIFACTSDIRECTORY\n\nDescription:\n\nExample: `D:\\a\\1\\a`\n\n## SYSTEM_COLLECTIONID\n\nDescription:\n\nExample: `aea1cc4e-9bc6-4c7b-8950-a47d7d2e4e06`\n\n## SYSTEM_COLLECTIONURI\n\nDescription:\n\nExample: `https://dev.azure.com/yakdriver/`\n\n## SYSTEM_CULTURE\n\nDescription:\n\nExample: `en-US`\n\n## SYSTEM_DEFAULTWORKINGDIRECTORY\n\nDescription:\n\nExample: `D:\\a\\1\\s`\n\n## SYSTEM_DEFINITIONID\n\nDescription:\n\nExample: `2`\n\n## SYSTEM_DEFINITIONNAME\n\nDescription:\n\nExample: `YakDriver.azure-pipelines-environment-variables`\n\n## SYSTEM_ENABLEACCESSTOKEN\n\nDescription:\n\nExample: `SecretVariable`\n\n## SYSTEM_HOSTTYPE\n\nDescription:\n\nExample: `build`\n\n## SYSTEM_ISSCHEDULED\n\nDescription:\n\nExample: `False`\n\n## SYSTEM_JOBATTEMPT\n\nDescription:\n\nExample: `1`\n\n## SYSTEM_JOBDISPLAYNAME\n\nDescription:\n\nExample: `environment variables`\n\n## SYSTEM_JOBID\n\nDescription:\n\nExample: `9cd7d73b-785a-5059-5c5c-3f86b8afeb34`\n\n## SYSTEM_JOBIDENTIFIER\n\nDescription:\n\nExample: `env.__default`\n\n## SYSTEM_JOBNAME\n\nDescription:\n\nExample: `__default`\n\n## SYSTEM_JOBPARALLELISMTAG\n\nDescription:\n\nExample: `Public`\n\n## SYSTEM_JOBPOSITIONINPHASE\n\nDescription:\n\nExample: `1`\n\n## SYSTEM_PHASEATTEMPT\n\nDescription:\n\nExample: `1`\n\n## SYSTEM_PHASEDISPLAYNAME\n\nDescription:\n\nExample: `environment variables`\n\n## SYSTEM_PHASEID\n\nDescription:\n\nExample: `37905b85-ba64-57a9-b162-719366a83dda`\n\n## SYSTEM_PHASENAME\n\nDescription:\n\nExample: `env`\n\n## SYSTEM_PIPELINESTARTTIME\n\nDescription:\n\nExample: `2019-09-09 15:12:39-04:00`\n\n## SYSTEM_PLANID\n\nDescription:\n\nExample: `50e3405c-d780-4774-8541-b0fdb2b26341`\n\n## SYSTEM_PULLREQUEST_ISFORK\n\nDescription: Even though pull request related, this appears in non-pull-request builds.\n\nExample: `False`\n\n## SYSTEM_PULLREQUEST_MERGEDAT\n\nDescription: _Only on a pull request._\n\nExample: ``\n\n## SYSTEM_PULLREQUEST_PULLREQUESTID\n\nDescription: _Only on a pull request._\n\nExample: `315675853`\n\n## SYSTEM_PULLREQUEST_PULLREQUESTNUMBER\n\nDescription: _Only on a pull request._\n\nExample: `1`\n\n## SYSTEM_PULLREQUEST_SOURCEBRANCH\n\nDescription: _Only on a pull request._\n\nExample: `update-envs`\n\n## SYSTEM_PULLREQUEST_SOURCECOMMITID\n\nDescription: _Only on a pull request._\n\nExample: `4072182801f9d627f33593f2b0f38924d365cd0f`\n\n## SYSTEM_PULLREQUEST_SOURCEREPOSITORYURI\n\nDescription: _Only on a pull request._\n\nExample: `https://github.com/YakDriver/azure-pipelines-environment-variables.git`\n\n## SYSTEM_PULLREQUEST_TARGETBRANCH\n\nDescription: _Only on a pull request._\n\nExample: `master`\n\n## SYSTEM_SERVERTYPE\n\nDescription:\n\nExample: `Hosted`\n\n## SYSTEM_STAGEATTEMPT\n\nDescription: \n\nExample: `1`\n\n## SYSTEM_STAGEDISPLAYNAME\n\nDescription: The display name for the stage.\n\nExample: `__default`\n\n## SYSTEM_STAGEID\n\nDescription: A UUID for the current stage.\n\nExample: `96ac2280-8cb4-5df5-99de-dd2da759617d`\n\n## SYSTEM_STAGENAME\n\nDescription: The stage name.\n\nExample: `__default`\n\n## SYSTEM_TASKDEFINITIONSURI\n\nDescription: The URI for the step definitions.\n\nExample: `https://dev.azure.com/yakdriver/`\n\n## SYSTEM_TASKDISPLAYNAME\n\nDescription: The display name for the current step.\n\nExample: `bash environment variables`\n\n## SYSTEM_TASKINSTANCEID\n\nDescription: A UUID for the current step.\n\nExample: `ce30c491-54d2-5ab2-f73d-c2aceaff5b23`\n\n## SYSTEM_TASKINSTANCENAME\n\nDescription: What type of step is currently running.\n\nExample: `Bash`\n\n## SYSTEM_TEAMFOUNDATIONCOLLECTIONURI\n\nDescription: The collection URI for the Team Foundation Server (now Azure DevOps Server).\n\nExample: `https://dev.azure.com/yakdriver/`\n\n## SYSTEM_TEAMFOUNDATIONSERVERURI\n\nDescription: The URI for the Team Foundation Server (now Azure DevOps Server).\n\nExample: `https://dev.azure.com/yakdriver/`\n\n## SYSTEM_TEAMPROJECT\n\nDescription: The team project.\n\nExample: `dirkavery`\n\n## SYSTEM_TEAMPROJECTID\n\nDescription: A UUID for the team project.\n\nExample: `e556bba9-d99e-42da-baad-6ed357d52dcf`\n\n## SYSTEM_TIMELINEID\n\nDescription: A UUID for the system timeline.\n\nExample: `50e3405c-d780-4774-8541-b0fdb2b26341`\n\n## SYSTEM_TOTALJOBSINPHASE\n\nDescription: How many parallel jobs are in phase.\n\nExample: `1`\n\n## SYSTEM_WORKFOLDER\n\nDescription: The system workfolder.\n\nExample: `D:\\a`\n\n## SYSTEM\n\nDescription: The purpose of the system perhaps.\n\nExample: `build`\n\n## SYSTEMDRIVE\n\nDescription: _(Camel case on CMD and PowerShell.)_ The drive where the system lives.\n\nExample: `C:`\n\n## SYSTEMROOT\n\nDescription: _(Camel case on CMD and PowerShell.)_ The Windows system root.\n\nExample: `C:\\windows`\n\n## TASK_DISPLAYNAME\n\nDescription: The display name of the current task.\n\nExample: `bash environment variables`\n\n## TEMP\n\nDescription: The location of temporary directory.\n\nBash example: `/tmp`\n\nCMD and PowerShell example: `C:\\Users\\VSSADM~1\\AppData\\Local\\Temp`\n\n## TERM\n\nDescription: _(Bash only.)_ The terminal emulator.\n\nExample: `cygwin`\n\n## TF_BUILD\n\nDescription: Whether this is a Team Foundation (now Azure DevOps) build.\n\nExample: `True`\n\n## TMP\n\nDescription: The location of temporary directory.\n\nBash Example: `/tmp`\n\nCMD and PowerShell example: `C:\\Users\\VSSADM~1\\AppData\\Local\\Temp`\n\n## USER_DEFINED_VARIABLE\n\nDescription: If you have a job or build-level user-defined variable, it will show up in the environment as well. This is an example.\n\nExample: `the value of this variable`\n\n## USERDOMAIN_ROAMINGPROFILE\n\nDescription: The roaming profile in the domain.\n\nExample: `fv-az433`\n\n## USERDOMAIN\n\nDescription: The domain of the container.\n\nExample: `fv-az433`\n\n## USERNAME\n\nDescription: The username running the build.\n\nExample: `VssAdministrator`\n\n## USERPROFILE\n\nDescription: The user profile location.\n\nExample: `C:\\Users\\VssAdministrator`\n\n## VCPKG_INSTALLATION_ROOT\n\nDescription: The VCPKG installation root.\n\nExample: `C:\\vcpkg`\n\n## VS140COMNTOOLS\n\nDescription: The location of VS140 common tools.\n\nExample: `C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\Tools\\`\n\n## VSTS_AGENT_PERFLOG\n\nDescription: The VSTS agent performance log.\n\nExample: `c:\\vsts\\perflog`\n\n## VSTS_PROCESS_LOOKUP_ID\n\nDescription: The lookup ID of the VSTS process.\n\nExample: `vsts_d35522da-a32f-41c8-bded-bc0b6eaf1530`\n\n## WINDIR\n\nDescription: _(Lowercase on CMD and PowerShell.)_ The location of Windows.\n\nExample: `C:\\windows`\n\n## WIX\n\nDescription: The location of WiX.\n\nExample: `C:\\Program Files (x86)\\WiX Toolset v3.11\\`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyakdriver%2Fazure-pipelines-environment-variables","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyakdriver%2Fazure-pipelines-environment-variables","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyakdriver%2Fazure-pipelines-environment-variables/lists"}