A Resque Worker implementation for Screwdriver CD that consumes jobs from a Resque queue and executes builds in designated execution engines. Current stable version is 2.10.1, maintained by Yahoo. It handles starting and stopping build tasks, supports configuration via YAML or environment variables, and integrates with the Screwdriver API. Key differentiator: it provides a pluggable executor interface for CI/CD pipelines, built specifically for the Screwdriver ecosystem.
npm install screwdriver-queue-workerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates creating a QueueWorker instance, starting a build with required config, and stopping it, including error handling callbacks.
Always provide a callback function when calling start() or stop().
Use import syntax or set type: module in package.json.
Use 'jobId' and pipeline-level blocking configuration instead.
Pass a configuration object or ensure default config matches your environment.
Validate the token is current and has correct permissions before starting a build.
Change to const worker = new QueueWorker(config); worker.start(...)
Run npm install screwdriver-queue-worker and use relative path if installed locally.
Use import QueueWorker from 'screwdriver-queue-worker' instead of require.