TFS 2015 Release management access build variables
In TFS 2015 we have a build, that will automatically trigger a new release. It is realized with the new script based build definitions . Now I want to pass a user variable from build to release. I have created a variable "Branch" in the build. In the automatically triggered release I try to access it. But it is always empty/not set. I tried it with $(Branch) and $(Build.Branch) . I also tried to create a variable in release with these names, without success. Is there any chance, to access a user variable from the build definition in the release? I do it now with some custom powershell scripts.