Buildbucket is a generic build queue. A build requester can schedule a build and wait for a result. A building system, such as Swarming, can lease it, build it and report a result back.
Documentation: go/buildbucket. TODO(nodir): add a link to exported public doc when available.