Build on VSTS fail to get source randomly -


we use tfvc version control. after migrate tfs 2017 vsts on cloud, our build fail randomly. everytime when fail, complaint:

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 adminworkspaces global permission(s). 2017-08-15t03:58:38.8578892z ##[error]exit code 100 returned 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'. 

anyone has idea error , how deal "adminworkspaces global permission"?

update:

  1. and in slb1-swt-xxx > project collection build service accounts, "create workspace" set "allow".
  2. the agent (agent.version 2.120.1) created scratch in local machine. means _work folder empty, still meet issue.


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -