Skip to content
This repository has been archived by the owner on Feb 20, 2022. It is now read-only.

Dashbi data provider that fetches last build for given Jenkins job

License

Notifications You must be signed in to change notification settings

marverix/dashbi-data-provider-jenkins-build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dashbi-data-provider-jenkins-build

Dashbi data provider that fetches last build for given Jenkins job.

Usage

Install

npm install --save dashbi-data-provider-jenkins-build

Register

Dashbi should detect and auto-register data provider.

Config Source

You need to provide to params:

  • jenkinsUrl
  • jobPath

Example

Let's say that your Jenkins Job URL is https://myjenkins.example.org/job/Hello/. Your widget configuration could look like this:

dashbiLayout.addWidget({
  name: 'jenkins-build-status',
  title: 'My Jenkins Job',
  source: {
    name: 'jenkins-build',
    params: {
      jenkinsUrl: 'https://myjenkins.example.org',
      jobPath: 'job/Hello'
    }
  }
});

Widget

Widget created to display build status is jenkins-build-status