mozaik-ext-bamboo-rest-api

0.0.3 • Public • Published

Mozaïk value widgets

Value widget for the Mozaïk dashboard framework.

Preview

value

Value Widget Configuration

Api Configuration

api: {
  bamboo: {
    apiToken: process.env.BAMBOO_CREDS
  }
}

Dashboard Configuration

{
  // ...
  {
      baseUrl:"https://bamboo.example.co.uk",
      projectKey:"EWA",
      planKey:"CI",
      type:"bamboo.builds",
      columns: 3, rows: 4,
      x: 0, y: 0 
  },
  {
      title:"Bamboo Chart",
      baseUrl:"https://bamboo.example.co.uk",
      reportKey:"com.atlassian.bamboo.plugin.system.reports:numberOfBuilds",
      projectKey:"EWA",
      planKey:"CI",
      type:"bamboo.charts",
      columns: 1, rows: 2,
      x: 3, y: 0 
  },
}

bamboo.builds Parameters

key required description example
baseUrl yes The baseUrl of your bamboo environment 'https://bamboo.example.co.uk'
projectKey yes The key or your project, found in the url when viewing the project 'EWA'
planKey yes The key of your plan, found in the url when viewing the plan 'CI'

bamboo.charts

key required description example
baseUrl yes The baseUrl of your bamboo environment 'https://bamboo.example.co.uk'
reportKey yes The key of the report you want to display in a chart, found in the url when viewing the report 'com.atlassian.bamboo.plugin.system.reports:numberOfBuilds'
projectKey yes The key or your project, found in the url when viewing the project 'EWA'
planKey yes The key of your plan, found in the url when viewing the plan 'CI'
height no The height of the graph in px '420px'
width no The width of the graph in px '320px'

Package Sidebar

Install

npm i mozaik-ext-bamboo-rest-api

Repository

github.com/

Homepage

github.com

Weekly Downloads

2

Version

0.0.3

License

MIT

Last publish

Collaborators

  • callumatpixelpin