jenkins-jobs-runner
A library for executing jenkins jobs in parallel in CLI
✨ Features
- executes sequentially n batches, each of n parallel jobs
- displays visual feedback in terminal
🔧 Installation
yarn add jenkins jenkins-rxjs jenkins-jobs-runner
🎬 Getting started
Let's demonstrate simple usage with an example:
Create an instance of Job Batch Runner:
;; ;;
Prepare JobBatchDescriptor
array:
;
Execute jobs:
jobBatchRunner.runBatchesbuilderResult.thenconsole.log'end';
That is it. jobBatchRunner return a promise when finished should you want to do something afterward.
🎭 Examples
Go checkout adeng-jenkins-cli for examples of integration.
📜 API
Full API can be found here.
🕵️ Troubleshooting
🥂 License
MIT as always