Make Library Variable Groups available for use in Build Definitions
Currently, documentation (https://www.visualstudio.com/en-us/docs/release/author-release-definition/more-release-definition#variables) for Variables feature states:
"Share values across all of the build and release definitions in a project by using variable groups. Choose a variable group when you need to use the same values across all the build definitions, release definitions, environments, and tasks in a project, and you want to be able to change the values in a single place."
However, Variable Groups defined in the Library for Project cannot be used for Build Definitions. Only for Release Definitions.
I'd love this feature to be extended to support Build Definitions as well.
Greg R commented
NB: I have tfs 2017 up2 on premise and I cant use variable groups in build definitions
I don't understand why it was excluded when available in release defs ?
Grégory Ott commented
According to https://www.visualstudio.com/en-us/news/releasenotes/tfs2018-relnotes#a-idbuild-a-build-and-release, it will be available in TFS 2018. It is currently available in VSTS.
Brett Hinton commented
This seems to be available now - I'm using variable groups in build defintions
This feature is really needed in our global organisation of 40,000 employees where a DevOps department has to be able to centrally manage variables such as keys/passwords (e.g for signing).