Skip to content

Instantly share code, notes, and snippets.

View windowfinn's full-sized avatar

Stef windowfinn

  • Scotland
View GitHub Profile
@windowfinn
windowfinn / Readme.md
Last active March 25, 2016 19:13 — forked from mavimo/Readme.md
Dashing Jenkins Widget - a fork that adds html5 audio alerts

Description

Dashing widget to display a Jenkins build status and build progress

This extension adds html5 audio alerts to the generated html dashboard. An alert will be played for each instance of the widget, but only if the state has changed. One sound for success, and one for failure.

This widget is a fork of Marco's work

The widget is based on the meter-widget which is default in the Dashing installation

@windowfinn
windowfinn / checkJenkins.sh
Last active March 10, 2019 20:47 — forked from julianchurchill/checkJenkins.sh
A bash script to query a Jenkins server. Use like this: 'checkJenkins.sh <jobname>' and it will query the server with the given job name every 30s. Use like this: 'checkJenkins.sh <jobname> tmux' and it will query the server once and output tmux coloured messages appropriate to display in a tmux status bar. E.g. add this to your .tmux.conf 'set …
#!/bin/bash
CONSOLE_RED="\e[31m"
CONSOLE_GREEN="\e[32m"
CONSOLE_CLEAR="\e[39m"
JENKINS_SERVER=http://my_jenkins_server
JOB=$1
JOB_QUERY=/job/${JOB}