jenkins-rxjs
v1.1.1
Published
A library for executing Jenkins Jobs with RxJs listeners
Downloads
22
Readme
jenkins-rxjs
A library for executing Jenkins Jobs with RxJs listeners
✨ Features
- runs entire jenkins job process
- returns stream of observables
🔧 Installation
yarn add jenkins jenkins-rxjs
🎬 Getting started
Let's demonstrate simple usage with an example:
import * as createJenkins from 'jenkins';
import { JenkinsRxJs } from 'jenkins-rxjs';
const jenkinsPromisified = createJenkins({
baseUrl: myJenkinsUrl,
promisify: true,
});
const jenkinsRxJs = new JenkinsRxJs(jenkinsPromisified);
jenkinsRxJs.run(jobBuildOptions).subscribe(console.log);
🎭 Examples
Go checkout adeng-jenkins-cli and jenkins-jobs-runner for examples of integration.
📜 API
Full API can be found here.
🕵️ Troubleshooting
🥂 License
MIT as always