microsoft / vso-agent

Visual Studio Team Services and TFS agent for Mac OSX and Linux
MIT License
131 stars 57 forks source link

Agent doesn't have all environment variables listed in the docs #195

Closed jkeech closed 8 years ago

jkeech commented 8 years ago

The VSTS Build documentation lists variables that are available during the build's execution. Our Windows agents are getting all of these variables, but our Mac agent is missing several of them, such as the following:

AGENT_ID AGENT_NAME BUILD_REPOSITORY_CLEAN BUILD_REPOSITORY_GIT_SUBMODULECHECKOUT BUILD_REPOSITORY_LOCALPATH BUILD_REPOSITORY_NAME BUILD_REPOSITORY_PROVIDER BUILD_REPOSITORY_URI SYSTEM_DEFAULTWORKINGDIRECTORY

bryanmacfarlane commented 8 years ago

This should be fixed in the new replacement agent

https://github.com/Microsoft/vsts-agent