When running TeamCity build, I keep on seeing these errors.
- Please note, we're tried both custom & recommended checkout directory folder
Error 1: Updating sources: auto checkout (on agent) (16s) [Updating sources] Failed to delete empty directory: C:\TeamCity\buildAgent\work\CheckOutCustomFolder\ProjectFolderName\bin\Debug
Error 2: Error while applying patch (1) Failed to perform checkout on agent: '"C:\Program Files\Git\bin\git.exe" clean -f -d -x' command failed. Failed to perform checkout on agent: '"C:\Program Files\Git\bin\git.exe" clean -f -d -x' command failed. exit code: 1 stderr: warning: failed to remove ProjectFolderName/bin/Debug
Appreciate if someone can help on this!