title: TeamCity Conditional SMB Upload path
body: <p>Using TeamCity version 2017.2.3 (build 51047).</p>
  
  <p>I have a SMB Upload build step and would like to upload the builds from the default branch to a different location than all other builds.</p>
  
  <p>I seen the following variable that will tell me if its a deafult build <code>%teamcity.build.branch.is_default%</code> however im not too sure how or even if its possible to specify conditional Target URL for the SMB Upload step. </p>
  
  <p>Either with some form on IF block, or ternary statement inline.</p>
  
  <p>Non of this is done using PowerShell. All through the UI, i would prefer to keep it that way if possible. Our old TeamCity install saws essentially just a glorified PowerShell script runner and grew into this un maintainable monolith, besides PowerShell is a rather terrible language.</p>
  
  <p>Essentially what i would like would be builds on any branch going to </p>
  
  <p><code>//DataStore/builds/my-api-%build.number%.zip</code></p>
  
  <p>Whilst builds on the default branch go to</p>
  
  <p><code>//DataStore/builds/default/my-api-%build.number%.zip</code></p>
  
  <p>Any help would be appreciated thanks.</p>