Where is $(System.DefaultWorkingDirectory) set for builds in TFS2015?
Asked Answered
H

1

9

I'm trying to modify the value of this variable as it currently points to the source folder of whatever build gets run on the agent instead of the root of the build.

Does anyone know where I can modify this variable? I've looked at the agent's configuration .json file but didn't find anything relevant.

Hatbox answered 6/10, 2016 at 21:16 Comment(0)
P
7

You can define $(System.DefaultWorkingDirectory) in Variables tab in Build Definition.

I just had a quick test, if I define a new value to $(System.DefaultWorkingDirectory), the output in the task for $(System.DefaultWorkingDirectory) will be the new value:

enter image description here

enter image description here

Photovoltaic answered 7/10, 2016 at 5:34 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.