0.0.3 • Published 7 years ago

mozaik-ext-bamboo-rest-api v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
7 years ago

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

keyrequireddescriptionexample
baseUrlyesThe baseUrl of your bamboo environment'https://bamboo.example.co.uk'
projectKeyyesThe key or your project, found in the url when viewing the project'EWA'
planKeyyesThe key of your plan, found in the url when viewing the plan'CI'

bamboo.charts

keyrequireddescriptionexample
baseUrlyesThe baseUrl of your bamboo environment'https://bamboo.example.co.uk'
reportKeyyesThe 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'
projectKeyyesThe key or your project, found in the url when viewing the project'EWA'
planKeyyesThe key of your plan, found in the url when viewing the plan'CI'
heightnoThe height of the graph in px'420px'
widthnoThe width of the graph in px'320px'