DevOps / Bamboo: Continuous Integration & Deployment Interview Questions
Why should requirements and capabilities be used together?
Capabilities describe what an agent has; requirements describe what a job needs. Neither is useful alone — capabilities with nothing checking them would just be unused metadata, and requirements with no capability data to match against would have nothing to validate against.
Used together, they let Bamboo's scheduler make a correctness guarantee before a job ever starts: it will only place a job on an agent proven to satisfy every declared requirement, instead of discovering a missing tool mid-build through a cryptic "command not found" error. This is also what lets a single Bamboo instance safely serve heterogeneous projects — a mobile job routed only to macOS agents, a .NET job routed only to Windows agents — without any manual assignment, purely from the requirement/capability match.
More Related questions...