DevOps / Bamboo: Continuous Integration & Deployment Interview Questions
Why is capability matching important for Bamboo agents?
Capabilities are how Bamboo prevents a job from landing on an agent that simply can't run it. Each agent advertises what it has installed — a JDK version, an executable path, a custom environment variable — and each job declares requirements describing what it needs. The scheduler only assigns a job to agents whose capabilities satisfy every one of that job's requirements.
Without this matching, a job needing Node 20 could land on an agent that only has Node 14, failing at the first script step with a confusing environment error rather than a clear scheduling message. Capability matching also lets one Bamboo instance safely serve very different projects — mobile builds routed to macOS agents, .NET builds routed to Windows agents, everything else to generic Linux agents — without anyone manually deciding where each job runs.
More Related questions...