4

In VSTS it is possible to create variables per build definition as per the Microsoft documentation

https://www.visualstudio.com/en-us/docs/build/define/variables

Is it possible to define global variables that I can use across multiple build definitions?

Scenario:

I have a variable 'MyPassword' that is used in multiple definitions. If I want to change the value of 'MyPassword' I have to do it in each build definition rather than just in one global variable.

Peter
  • 27,590
  • 8
  • 64
  • 84
RedJandal
  • 1,203
  • 10
  • 18

2 Answers2

4

This feature is added to vsts.

Old awnser: This is no possible at this moment. It seems a nice feature. I'll user voice item for this.

uservoice: 14515326-project-level-build-release-variables

Peter
  • 27,590
  • 8
  • 64
  • 84
-1

Yes, you can using Variable Groups in the Release & Release/Library option enter link description here

Luis Diego Rojas
  • 182
  • 1
  • 11