How to set build agent priority in TeamCity?

I have two agents that can build my configuration. I created two because sometimes I need to do two simultaneous assemblies.

How to prioritize the build agent to force TeamCity to select a specific agent, if both are free and available?

Now he selects an agent randomly or for unknown reasons ...

+4
source share
3 answers

You can filter which agents are used, but I'm not sure if you can specify which idle for the agent to use.

If you are worried about TeamCity using the fastest agent, it should do it automatically.

Teamcity .

, , TeamCity :

  • , .

  • , . ; , . , , .

+3

, , .
, ( "system.agent.name" ) , CPU TeamCity (, 400), : system.teamcity.agent.cpuBenchmark 400.

0

Now you can prioritize agents using the plugin . Please enjoy;)

0
source

Source: https://habr.com/ru/post/1606249/


All Articles