title: Include generated files in TeamCity artfacts
body: <p>I am using TeamCity for CI. Some of my unit tests generate files when they are run (browser screenshots when Selenium-based tests fail), and these files get placed in the <code>Environment.CurrentDirectory</code>, e.g.</p>
  
  <pre>C:\Program Files (x86)\TeamCity\buildAgent\temp\buildTmp\SYSTEM_servername 2013-12-10 18_05_14\Out</pre>
  
  <p>I want to include these files as <a href="http://confluence.jetbrains.com/display/TCD8/Configuring+General+Settings#ConfiguringGeneralSettings-ArtifactPaths" rel="nofollow">TeamCity artifacts</a>, but this does not seem possible TeamCity looks for artifacts based on the checkout directory.</p>
  
  <p>One workaround would be to save my generated files to a hard-coded path (<em>C:\temp</em>, for example) but this is not ideal. Is there a cleaner alternative?</p>