Package io.jenkins.plugins.smartexecutorloadbalancer
package io.jenkins.plugins.smartexecutorloadbalancer
-
ClassDescriptionImmutable snapshot of one build execution on a specific executor slot.Classifies a
Throwablecaught at executor-task level into aFailureTypeand extracts a one-line human-readable reason.Classifies why a build failed on a particular executor slot.Catches freestyle build failures where the shell step returns a non-zero exit code without throwing an exception — those do not reachNodeExecutorTracker.taskCompletedWithProblems(Executor, Queue.Task, long, Throwable)because the executor slot itself finishes cleanly.InstallsSmartLoadBalanceras the global Jenkins load balancer after all extensions are registered.Listens to every executor-slot lifecycle event and records the outcome inNodeLabelStatsStore.Ring-buffer of recent build records for one (nodeName, labelExpression) combination.Singleton store for all (node, label) statistics.Persistent configuration for the Smart Load Balancer.Per-job opt-out from Smart Load Balancer scheduling.Adds a "Smart Load Balancer" entry to Manage Jenkins for plugin configuration.View model for one row in the node-health table.Smart load balancer — v2.Periodically polls the 1-minute system load average from every online node via the remoting channel and caches the result in memory.