GoCD Plugin to send pipeline notifications to an instance of https://github.com/ashwanthkumar/gocd-build-badge-server
Java HTML Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
art
images
src/main
.gitignore
README.md
pom.xml
release.sh

README.md

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