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.
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
.
[](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.