How to set cpuCount?

I am running a build that requires more CPUs than the default build agent is set to. I checked my build agents parameters and found:

teamcity.agent.hardware.cpuCount = 8

 

In the settings of my build, I created a parameter and tried to set the cpuCount:

teamcity.agent.hardware.cpuCount=24

 

I checked the next time the build ran, and it was still only using 8. How can I check that I am setting this correctly?

 

1 comment

Hi Peter,

 

you should be able to access the agent from the UI and check its parameters. You could also access a finished build and check its parameters to see the agent parameters. This parameter should be added at the agent level, rather than the build one, and the agent will restart itself after setting it up.

0

Please sign in to leave a comment.