Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试修改此变量的值,因为它当前指向在代理上运行的任何构建的源文件夹,而不是构建的根目录。
有谁知道我可以在哪里修改这个变量?我查看了代理的配置 .json 文件,但没有发现任何相关内容。
您可以$(System.DefaultWorkingDirectory)在 Build Definition 的 Variables 选项卡中定义。
$(System.DefaultWorkingDirectory)
我刚刚做了一个快速测试,如果我为 定义一个新值$(System.DefaultWorkingDirectory),则任务中的输出$(System.DefaultWorkingDirectory)将是新值: