当签入对TFS 2015.4服务器的一些更改时,vNext构建代理在“获取源”步骤中出错。完全错误是
Some items in shelveset <gated checkin shelveset> were not unshelved because Project Build Service (TEAM FOUNDATION) does not have Read permission for those items.
发布于 2018-11-03 16:25:09
结果发现问题是构建授权范围。我已经将它设置为“当前项目”,但是有一个文件我已经从另一个团队项目的分支分支到了这个分支,所以授权范围不能包括该文件的分支。

将其范围更改为“”并重新运行构建解决了这个问题。正如第一次报道的那样,我不得不执行两次.
The working folder D:\agent006\_work\41\s\SomeTrunk is already in use by the workspace ws_41_7;Project Build Service (TEAM FOUNDATION) on computer TFSBUILDSERVER. Prepare repository failed with exception.
第二个和随后的构建正常工作。
https://stackoverflow.com/questions/53133255
复制相似问题