I would like to specify how many CPU core Visual Studio (sln) runner should utilize. But this should be specified for each agent. How to do this?
Use case: there are several agents connected to the single server, and some of them are used for other tasks as well, so the builds should be performed on 1-2 CPU cores there in order not to overload the PC (normally the build utilized all CPU cores, and the PC becomes less responsive).
I know there is an option of MSBuild /maxcpucount, but how can it be passed to a Visual Studio runner?
And I suppose some file (like buildAgent.properties) may hold such setting for the choosen agents...
Thanks for the hints in advance!