title: Predefined variables for repository resource trigger
body: <p>When a pipeline is triggered by a <a href="https://docs.microsoft.com/en-us/azure/devops/pipelines/process/resources?view=azure-devops&amp;tabs=schema#resources-repositories" rel="nofollow noreferrer">repository resource trigger</a> I need to be able to determine metadata about the triggering repository (such as repo name and branch).</p>
  <p>It sounds like <a href="https://docs.microsoft.com/en-us/azure/devops/pipelines/process/resources?view=azure-devops&amp;tabs=schema#variables" rel="nofollow noreferrer">these variables</a> should be set during a pipeline run that was triggered by a repository resource; however, their values are blank when I do <code>echo $(resources.triggeringAlias)</code> or <code>env | sort</code> in a pipeline run that was triggered by a repository resource.</p>
  <p>UPDATE: the predefined variables for <code>Build.Repository.Name</code> and <code>Build.SourceBranchName</code> now work as expected when used with a repository trigger. So, while I'm no longer in need of <code>resources.triggeringAlias</code> and <code>resources.triggeringCategory</code>, they still aren't working.</p>