Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/g3force/qablink
Get the current build status from Jenkins and Quality Gate Status from Sonar for multiple projects and report them on a blink1 device.
https://github.com/g3force/qablink
blink1 jenkins quality-assurance sonarqube
Last synced: 14 days ago
JSON representation
Get the current build status from Jenkins and Quality Gate Status from Sonar for multiple projects and report them on a blink1 device.
- Host: GitHub
- URL: https://github.com/g3force/qablink
- Owner: g3force
- Created: 2017-08-10T20:44:28.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-19T17:30:45.000Z (over 6 years ago)
- Last Synced: 2023-03-11T23:48:42.684Z (almost 2 years ago)
- Topics: blink1, jenkins, quality-assurance, sonarqube
- Language: Go
- Homepage:
- Size: 19.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# qaBlink
Get the current build status from Jenkins and Quality Gate Status from Sonar for multiple projects and report them on a blink1 device.
All status can be placed to 'slots'. Slots are gone through iteratively with a fixed duration per slot. Status from jobs can be assigned to an available LED of the blink1 devices that are attached.
## Requirements
This project depends on https://github.com/hink/go-blink1/ which makes use of libusb to access the blink1 device. libusb is available for many Platforms including Linux, Mac and Windows.
You need to install following dependencies first:
* libusb
* Go >= 1.9
### LinuxFor Linux, you will need to add a udev rule if you want to execute the binary without root permissions. On Arch Linux, it would look like this:
```
cat /etc/udev/rules.d/10.blink1.rules
SUBSYSTEMS=="usb", ATTRS{idVendor}=="27b8", ATTRS{idProduct}=="01ed", SYMLINK+="blink1", GROUP="wheel"
```### Windows
In theory, it should also work with Windows, if libusb is installed. I have never tested this, though...## Installation
Download and install to [GOPATH](https://github.com/golang/go/wiki/GOPATH):
`go get github.com/g3force/qaBlink`
It will produce a `qaBlink` executable in $GOPATH/bin. The executable assumes a `config.json` file in the current working directory or a `.qaBlink.json` in your HOME dir.
## Configuration
Copy example.config.json to config.json and adapt it to your needs. You can define multiple Jenkins and Sonar connections and jobs and assign them to slots.