We have TFS 2017 and installed build agent on Mac, connectivity is ok, our build definition does not pull all files, added Project Collection Build Service or Project Build Service roles to code security, no luck.
Thanks
We have TFS 2017 and installed build agent on Mac, connectivity is ok, our build definition does not pull all files, added Project Collection Build Service or Project Build Service roles to code security, no luck.
Thanks
Not sure if the issue happen always for this build definition or intermittently. Try to give your build service account enough permission such as local administrator on your Mac machine. Make sure you have set the workspace clean=ture.
You could also disable the default get source steps in the build definition. And use your own script to do the get source/pull files to see if you get the same situation. How to please follow: Is it able to ignore/disable the first step Get source in vNext Build?
Try to run the build multiple times, check if there are steady of some files which not pull down or the files are just randomly. Check the left-over space on your Mac hard driver is sufficiently.
If all of the above still not fix the issue, suggest you reinstall/ reconfigure your Mac build agent(use the latest version) and try again. There is a thoroughly tutorial: Deploy an agent on OSX in official.