Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ashwanthkumar/gocd-build-badge-notifier

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

Last synced: about 6 hours ago
JSON representation

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

Awesome Lists containing this project

README

        

# gocd-build-badge-notifier
Plugin notifies all pipeline build status to an instance of [Build Badge notifier](https://github.com/ashwanthkumar/gocd-build-badge-server).

## Setup
- Download jar from releases & place it in /plugins/external & restart Go Server.
- Make sure you have an instance of [build badge server](https://github.com/ashwanthkumar/gocd-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](https://github.com/ashwanthkumar/gocd-build-badge-server).

![Demo](images/configuration-screen.png)

## 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`.

```markdown
[![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