Skip to content

Provides shields.io like badge for Atlassian Bamboo buildserver project plans using it's Rest API

License

Notifications You must be signed in to change notification settings

WCOMAB/BambooShield

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Provides shields.io like badge for Atlassian Bamboo buildserver project plans using it's Rest API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published