jenkins-status-shaker

1.1.1 • Public • Published

jenkins status shaker

Build Status

This awesome tool mix all status from a given list of Jenkins jobs and views and give you only one global state. More it will give you the global working status of your jobs which can be true or false depending if one or more jobs are currently building.


Install :

npm install jenkins-status-shaker

Example :

var JenkinsStatusShaker = require('jenkins-status-shaker');

var shaker = JenkinsStatusShaker.init('jenkins.mydomain.com', 'username', 'password'); // username and password are optional

shaker.setJobs(['job1', 'job2', 'job3']);

shaker.setViews(['view1', 'view2']);

shaker.onStatusReceived(function(status) {
    // status look like { status: 'SUCCESS', working: true }
});

shaker.getStatus();

Readme

Keywords

none

Package Sidebar

Install

npm i jenkins-status-shaker

Weekly Downloads

1

Version

1.1.1

License

GPL-3.0

Last publish

Collaborators

  • richardleterrier