Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 1.99 KB

README.md

File metadata and controls

43 lines (29 loc) · 1.99 KB

Bamboo Shield

Bamboo shield

Is a NancyFX / .Net based web that provides shields.io like badges for Atlassian Bamboo build server builds using it's Rest API.

This project currently is at a early proof of concept state, still needs testing and likely has bugs.

Configuration

The web is configured against your on-prem / cloud Bamboo instance via environment variables.

Variable name Example
BAMBOOSHIELD_API_BASE_URL on-prem: http://myhost.com:8085/bamboo/rest/api/latest/
cloud: https://mydomain.atlassian.net/builds/rest/api/latest
BAMBOOSHIELD_API_LOGIN john
BAMBOOSHIELD_API_PASSWORD password

Usage

Once web is up and configured you can get an SVG badge for a plan using following route:

cakebambooshield.myhost.com/planstatus/{style}/{projectKey}-{buildKey}.svg

Parameter Example
style Flat, FlatSquare, Plastic
projectKey BAMSHI
buildKey BUILD

Example url flat: https://cakebambooshield.azurewebsites.net/planstatus/Flat/BAMSHI-BUILD.svg

Bamboo shield

Example url flat square: https://cakebambooshield.azurewebsites.net/planstatus/FlatSquare/BAMSHI-BUILD.svg

Bamboo shield

Example url plastic: https://cakebambooshield.azurewebsites.net/planstatus/Plastic/BAMSHI-BUILD.svg

Bamboo shield