I am using Release Management 2015 and doing Agent deploys. I want to access the TFS Build Number and use it as part of my deployment. The RM documentation says that starting with RM 2013 U4, system variables are available for use. The documentation implies that they are available to any type of deployment, however, I've read that they are only available to vNext (agent-less) deployments.
Unfortunately, there are no examples to give any guidance on how to access them. Does anyone have an example of how to reference a System variable in a deployment template?