Skip to content

ashwanthkumar/gocd-build-badge-notifier

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
art
 
 
 
 
 
 
 
 
 
 
 
 
 
 

gocd-build-badge-notifier

Plugin notifies all pipeline build status to an instance of Build Badge notifier.

Setup

  • Download jar from releases & place it in /plugins/external & restart Go Server.
  • Make sure you have an instance of build badge server running. The README has 1-click deploy to Heroku.

Configuration

You need to set a URL to an instance of build badge server.

Demo

Markdown Syntax

To add the badge to the README of your private repo projects you could use the following template. Make sure you update the HOST_OF_BADGE_SERVER and Pipeline-Name.

[![Build Status](https://HOST_OF_BADGE_SERVER.com/badge/Pipeline-Name)](http://ci-server:8153/go/tab/pipeline/history/Pipeline-Name)

How does it work?

Since there isn't any (universal) way to determine if the pipeline has completed or not. We store the status of the latest completed stage in the pipeline on the badge server and return a badge (Passed / Failed / Unknown) based on that.

License

http://www.apache.org/licenses/LICENSE-2.0

About

GoCD Plugin to send pipeline notifications to an instance of https://github.com/ashwanthkumar/gocd-build-badge-server

Resources

Stars

Watchers

Forks

Packages

No packages published