项目作者: lumio

项目描述 :
A simple build status screen
高级语言: JavaScript
项目地址: git://github.com/lumio/wallboard.git
创建时间: 2017-12-03T18:57:59Z
项目社区:https://github.com/lumio/wallboard

开源协议:GNU General Public License v3.0

下载


wallboard

wallboard screenshot

This is a simple build status monitor server, allowing you to see the current
build status of your Jenkins instance.

Currently only Jenkins is supported, but if you wish to have support for other
CIs/CDs, feel free to vote here.

Install

Install wallboard globally using

  1. yarn global add wallboard
  2. # or
  3. npm i -g wallboard

Run

Run it using

  1. wallboard -c config.json

You might want to use pm2 to run it as a
daemon in the background though.

Config file

Example config.json file

  1. {
  2. // Set the URL to your Jenkins instance
  3. "ci": "https://jenkins",
  4. // Either use whitelist to only show jobs with a certain
  5. // substring in their name
  6. "whitelist": [ "pattern1", "pattern2" ],
  7. // or use blacklist to filter out certain jobs
  8. "blacklist": [ "pattern1", "pattern2" ],
  9. // Events allow you to run certain commands or call any
  10. // API when a job is starting or finishes.
  11. // These two events are called build-start and build-finish.
  12. "events": {
  13. "build-finish": {
  14. "all": "command or url that always runs when build finished",
  15. "successful": "command or url on a successful build",
  16. "failed": "command or url when job failed"
  17. },
  18. "build-start": {
  19. "all": "command or url"
  20. },
  21. // Adding :<job-name> to the event will override the
  22. // default event
  23. "build-finish:job-name": {
  24. "successful": "command or url on success"
  25. }
  26. }
  27. }