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.
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:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With