RepositoryCleanOptions enum

字段

Source = 0

运行 git clean -fdx && git reset --hard 或 Tf /scorch on $ (build.sourcesDirectory)

SourceAndOutputDir = 1

在 $ (build.sourcesDirectory) 上运行 git clean -fdx && git reset --hard 或 Tf /scorch,同时重新创建 $ (build.binariesDirectory)

SourceDir = 2

重新创建 $ (build.sourcesDirectory)

AllBuildDir = 3

重新创建 $ (agnet.buildDirectory) ,其中包含 $ (build.sourcesDirectory) 、$ (build.binariesDirectory) 以及上一个生成留下的任何文件夹。