Reputation: 1213
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.
Upvotes: 4
Views: 4893
Reputation: 27944
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
Upvotes: 4
Reputation: 202
Yes, you can using Variable Groups in the Release & Release/Library option enter link description here
Upvotes: -1