Now Particularly Misnamed
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

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'

install

npm i mozaik-ext-bamboo-rest-api

Downloadsweekly downloads

5

version

0.0.3

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability