Dashbi data provider that fetches last build for given Jenkins job.
npm install --save dashbi-data-provider-jenkins-build
Dashbi should detect and auto-register data provider.
You need to provide to params:
jenkinsUrl
jobPath
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 created to display build status is jenkins-build-status