jenkins-asskicker-server

Node.js based tts/sound server for kicking developers asses, or at least notify them

Downloads
8
Stars
1

jenkins-asskicker-server

Node.js based sound server for kicking developers asses.

Install

Dependencies:

sudo apt-get install redis-server libasound2-dev libavahi-compat-libdnssd-dev

Application:

git clone https://github.com/aferre/jenkins-asskicker-server.git
cd jenkins-asskicker-server
npm install
node app.js

or using the npm module

npm install -g jenkins-asskicker-server
jenkins-asskicker-server

Usage

The jenkins instances will be automagically discovered on the local network using either mdns or udp broadcasting. Both of these are provided in Jenkins out-of-the-box. Once jenkins instances are discovered (and they are up), all jobs will be monitored using either udp (install jenkins plugin https://wiki.jenkins-ci.org/display/JENKINS/Notification+Plugin and see the configuration section below) or websocket (install jenkins plugin https://wiki.jenkins-ci.org/display/JENKINS/Websocket+Plugin and see the configuration section below).

Configuration

  • redis:

    • host:
    • port:
  • jenkins:

    • websocket:
      • port:
      • udp:
        • port:
        • interval:
        • consideredDownInterval:
      • notifyUponRestart:
  • desc:

    • location:
    • users:

TODO

Provide route to upload custom mp3 files and desc.

Provide route to define phrases.

Add mongo/couch layer for persisting data.

Add per-job configuration.