title: Get the sources from the branch that triggered the build in Team Services
body: <p>I would like to create an integration build in VS Team Services, that is triggered when a commit is done to any branch (develop/feature xy) except master.</p>
  
  <p>I am able to create a trigger for this: </p>
  
  <p><a href="https://i.stack.imgur.com/IYdOr.png" rel="noreferrer"><img src="https://i.stack.imgur.com/IYdOr.png" alt="enter image description here"></a></p>
  
  <blockquote>
    <p>but how do i checkout the sources of the branch that triggered the build?</p>
  </blockquote>
  
  <p>In the task tab, the first step is 'Get Sources' and here i'm only able to choose one branch (the * wildcard is not possible here):</p>
  
  <p><a href="https://i.stack.imgur.com/Aujqj.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Aujqj.png" alt="enter image description here"></a></p>
  
  <p>Otherwise for example a build is triggered by a feature branch, but the sources are taken from the develop branch. How can i do this?</p>