VSTS Gems- Branch filters in environment triggers

VSTS is a great platform, but did you know about its gems?

Follow this short post series where we undercover some of its coolest features.

Gem

Branch filters in environment triggers

<click> on image for animation.

branchFilterOnEnvironment

Area

Release

TFS Availability

Future

Value

  • Have more granular control on which artifacts should be deployed to a specific environment (e.g. Deploy only master to PRODUCTION)

Full Description

  • Specify artifact conditions for a particular environment. Using these artifact conditions, you will have more granular control on which artifacts should be deployed to a specific environment. For example, for a production environment you may want to make sure that builds generated only from the master branch are deployed.
  • This filter needs to be set for all artifacts that you think should meet this criteria.
  • You can also add multiple filters for each artifact that is linked to the release definition. Deployment will be triggered to this environment only if all the artifact conditions are successfully met.

Find more gems on the Rangers blog

Find more gems on Twitter