I have an MSTest build step in my TeamCity build. Some of the tests look for a file in a relative path that they cannot find, and the tests throw an error ...
Unable to find the path ...
'C: \ BuildAgent \ temp \ buildTmp \ SYSTEM_ [AGENT NAME] 2013-02-06 16_25_11 \ Documents \ json.value.list.txt'
I have a PowerShell script that I want to use to create and copy a file in the above path. However, I cannot find suitable TeamCity options to use the path ...
I have...
% system.teamcity.build.tempDir% \% teamcity.agent.name% \ documents
However, this gives me ...
'C: \ BuildAgent \ temp \ buildTmp [AGENT NAME] \ Documents \'
What parameters or TeamCity variables can be used to build ...
C: \ BuildAgent \ temp \ buildTmp \ SYSTEM_ [AGENT NAME] 2013-02-06 16_25_11 \ Documents
Thanks!
Jason source share