Increment in _work directory

前端 未结 2 705
夕颜
夕颜 2021-01-24 10:54

What causes the folder name under \'_work\' to change on a Private Agent?

We are currently using _work/10/s etc. It has used this for the last few builds, but what would

2条回答
  •  醉梦人生
    2021-01-24 11:05

    Each build definition gets its own folder. This allows for total isolation of source code and build outputs.

    You should never rely on hard-coding this path; you can reference a build's working directory with the $(System.DefaultWorkingDirectory) variable.

提交回复
热议问题