What worked for me was doing all that wade zhou said
plus adding the Build service accounts under the Build Administrator permission group.