我们使用TFVC进行版本控制。在从TFS 2017迁移到云上的VSTS之后,我们的构建将随机失败。每次失败时,都会抱怨:
2017-08-15T03:58:35.9681298Z ##[command]tf vc workspace /new /location:local /permission:Public ws_6_14 /collection:https://slb1-swt-xxx.visualstudio.com/ /loginType:OAuth /login:.,******** /noprompt
2017-08-15T03:58:38.8432402Z TF14044: Access Denied: User Drilling Shared Components Build Service (slb1-swt) needs the AdminWorkspaces global permission(s).
2017-08-15T03:58:38.8578892Z ##[error]Exit code 100 returned from process: file name 'tf', arguments 'vc workspace /new /location:local /permission:Public ws_6_14 /collection:https://slb1-swt-xxx.visualstudio.com/ /loginType:OAuth /login:.,******** /noprompt'.
任何人都对此错误有所了解以及如何处理“AdminWorkspaces全局权限”?
更新: