Configuring global and local variables for a release

Variables are used to store values that need to be passed into tasks during the release. There are various advantages of using variables over hardcoding these values directly in tasks:

  • Variables support encrypting values in a way that they cannot be seen or changed by users of a release definition
  • Storing values in variables helps avoid duplication
  • Variables can be shared across all environments
  • Variables can be shared across all tasks within a specific environment

In this recipe, you'll learn how to configure release and environment variables for a release definition.

Getting ready

To edit a release definition, you need to be a member of the Release Administrators Group. These permissions are also ...

Get Microsoft Team Foundation Server 2015 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.