Is it possible to influence the preferred build agent

Hi,

we are currently using Continua with two build agents which have vastly different performance statistics. Unfortunately whenever a build is started Continua will prefer to start it on the slower agent.
Is there a way to tell Continua to prefer the other agent when possible?

Regards,
Christoph

Hi Christophe,

You can currently require a stage to run on one single agent by adding an expression to Agent Requirements tab of the Stage Options dialog. e.g." $Agent.Hostname$" Equals “AgentName”.

We don’t however have any way to specify a preference of one agent over another.

We have a feature called Agent Weightings listed in our to-do list. This will involve collecting agent performance metrics such as CPU, memory and disk space usage and adding them to the $Agent expression object and then creating an extra Agent Weightings tab on the Stage option dialog which will allow you to enter a weighting number against expressions involving these are other properties and variables. No time scale for this yet, but its certainly something we want to implement.

Thanks for the info. Limiting stages to run only on one agent is not an option though.
Guess I’ll just have to push for new hardware then.