Get Sources上的VSTS Build失败

时间:2017-08-23 21:42:16

标签: azure-devops azure-pipelines

我在VSTS中定义了一个构建,如果我尝试运行它,则会报告以下错误:

Querying workspace information.

tf vc workspace /new /location:local /permission:Public ws_1_1 /collection:https://myprojects.visualstudio.com/ /loginType:OAuth /login:.,******** /noprompt

TF14044: Access Denied: User Project Collection Build Service (WindwardProjects) needs the CreateWorkspace global permission(s).
Exit code 100 returned from process: file name 'tf', arguments 'vc workspace /new /location:local /permission:Public ws_1_1 /collection:https://windwardprojects.visualstudio.com/ /loginType:OAuth /login:.,******** /noprompt'.

我已检查并确认Project Collection Build Service用户已经"允许"对于CreateWorkspace全局权限,但是当构建到达尝试获取源代码的点时,我仍然会收到此错误。我还检查了源代码的路径,一切看起来都是正确的......您能否就我可能遗漏的内容或其他可能需要的设置/配置提供任何建议?

1 个答案:

答案 0 :(得分:0)

请检入VSTS帐户安全标签https://account.visualstudio.com/_admin/_security,确保项目收集有效用户创建工作区 允许

enter image description here