title: Setting build priority in yaml or UI
body: <p>Is there a way to setup up a build's priority in a yaml based pipeline? There seem to be references to build priority in the <a href="https://docs.microsoft.com/en-us/rest/api/azure/devops/build/Builds/Update%20Builds?view=azure-devops-rest-5.1#queuepriority" rel="nofollow noreferrer">Azure DevOps API</a>, but nothing in how to do this via yaml. I thought there might be some docs in the <a href="https://docs.microsoft.com/en-us/azure/devops/pipelines/build/triggers?view=azure-devops&amp;tabs=yaml" rel="nofollow noreferrer">Triggers</a> section, but no.</p>
  
  <p>We need this because we have some fast building NuGet packages, but these get starved via slow-build pipelines making turnaround time for packages painful.</p>
  
  <p>The closest thing I could come up with to working around this is via agent demands in the yaml</p>
  
  <pre><code>demands:
    - Agent.ComputerName = XYZ
  </code></pre>
  
  <p>to separate build pipelines, but this is a bit of a hack and doesn't use agents efficiently.</p>
  
  <p>A way to set this in UI would be acceptable, but I couldn't seem to find anything.</p>