title: TeamCity - setting a parameter in build step based on returned value from previously called script
body: <p>I have a Python script in a TeamCity build which creates a folder dynamically at build time.</p>
  
  <p>I'd like to return the name within the script to the calling build and reuse this in a later step.</p>
  
  <p>Is it possible to use the TeamCity set parameter and assign it to a variable for re-use?</p>
  
  <pre><code>##teamcity[setParameter name='ddd' value='fff']
  </code></pre>