microsoft / vso-agent

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

Support referencing other variables when defining a build variable #271

Closed mcm-ham closed 8 years ago

mcm-ham commented 8 years ago

I'd like to be able to define a build variable for our staging builds like this:

Version = 0.6.$(Build.BuildNumber)

I can use $(Version) as an input to build tasks and it works fine, but not as an environment variable in scripts because its 0.6.$(Build.BuildNumber) instead of 0.6.58.

rusty21 commented 8 years ago

I would also like this feature

bryanmacfarlane commented 8 years ago

This is coming in the new agent which is about to go into preview

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

bryanmacfarlane commented 8 years ago

Closing since it's in the new agent and we won't be adding to this agent. Should try and preview the new one. We're also doing a new preview drop this week