Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marverix/dashbi-data-provider-jenkins-build
Dashbi data provider that fetches last build for given Jenkins job
https://github.com/marverix/dashbi-data-provider-jenkins-build
dashbi dashbi-data-provider jenkins jenkins-build jenkins-job
Last synced: 3 months ago
JSON representation
Dashbi data provider that fetches last build for given Jenkins job
- Host: GitHub
- URL: https://github.com/marverix/dashbi-data-provider-jenkins-build
- Owner: marverix
- License: isc
- Archived: true
- Created: 2019-08-22T09:48:07.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-02-12T19:28:21.000Z (over 2 years ago)
- Last Synced: 2024-06-21T18:58:22.263Z (5 months ago)
- Topics: dashbi, dashbi-data-provider, jenkins, jenkins-build, jenkins-job
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dashbi-data-provider-jenkins-build
Dashbi data provider that fetches last build for given Jenkins job.
## Usage
### Install
```sh
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:```js
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](https://github.com/marverix/dashbi-widget-jenkins-build-status)