node package manager
It’s your turn. Help us improve JavaScript. Take the 2017 JavaScript Ecosystem Survey »

mozaik-ext-bamboo-rest-api

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'