Skip to content

Instantly share code, notes, and snippets.

View frvi's full-sized avatar

Fredrik Vihlborg frvi

  • Stockholm, Sweden
View GitHub Profile

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@frvi
frvi / Readme.md
Created August 29, 2014 10:16 — forked from mavimo/Readme.md

Description

Dashing widget to display a Jenkins build status and build progress

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

The widget can also see the progress of a "pre-build", i.e if you have a job triggering the actual build you want to define, you can configure this job in the jenkins_build.rb as a prebuild.

For more information, please see Coding Like a tosser

@frvi
frvi / committers.groovy
Created June 2, 2014 14:44
Send mail for failing downsteam jobs to source committer, via Jenkins email-ext plugin.
/*
* Save in $JENKINS_HOME/email-templates/committers.groovy
* Under post build task "Editable Email Notification"
* Global Recipient List: "${SCRIPT, script="committers.groovy"}"
*
* Works with git, see comments for svn usage.
*/
def upstreamBuild = null
def cause = build.causes.find {
package main
import (
"fmt"
"strconv"
)
func main() {
for i := 1; i <= 100; i++ {
fizzbuzz(i)