Miss any of our Open RFC calls?Watch the recordings here! »

jenkins-rxjs

1.1.1 • Public • Published

jenkins-rxjs

jenkins-rxjs

A library for executing Jenkins Jobs with RxJs listeners

Build Status NPM version Downloads Standard Version styled with prettier Conventional Commits


✨ 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

Install

npm i jenkins-rxjs

DownloadsWeekly Downloads

2

Version

1.1.1

License

MIT

Unpacked Size

2.79 MB

Total Files

75

Last publish

Collaborators

  • avatar