jetbrains.buildServer.serverSide.buildDistribution
Interface StartingBuildAgentsFilter
- All Superinterfaces:
- ServerExtension, TeamCityExtension
public interface StartingBuildAgentsFilter
- extends ServerExtension
This extension can filter agents for a queued build which is going to start.
The extension can affect the order of agents and also can block build startup.
In the latter case a WaitReason must be provided (the reason will be shown in the user interface).
- Since:
- 6.0
filterAgents
@NotNull
AgentsFilterResult filterAgents(@NotNull
AgentsFilterContext context)
- Filters agents according to current filtering context.
- Parameters:
context - filtering context - contains information which might be used during the filtering
- Returns:
- result of the filtering