0
votes

We have a customized lab build. We are using the latest build from a specific build definition. Our testing agent is on another network with shared drop folder, and we need to copy files to this folder before running the tests. The latest folder is defined in the staging section of the build definition (under Build Defaults). How can I get it in the xaml? I tried "BuildDetail.DropLocation", but gets nothing (prints an empty string).

We are using VS2012, the server is TFS 2013.

Thanks, Annat.

Update: Found the solution in my case. Just had to use "BuildDetail.DropLocationRoot".

1

1 Answers

0
votes

I wrote some note on the subject on a post, which can give you some ideas on managing drop folders and avoiding copies.

Answering your question, the simplest way is to use the TF_BUILD_DROPLOCATION environment variable in a script.