Skip to content

Latest commit

 

History

History
89 lines (66 loc) · 2.35 KB

README.md

File metadata and controls

89 lines (66 loc) · 2.35 KB

Mozaïk bitrise widgets

License Travis CI NPM version widget count

Bitrise Client Configuration

In order to use the Mozaïk bitrise widgets, you must configure its client.

parameters

key env key required description
token BITRISE_API_TOKEN yes The Bitrise API Token

usage

{
  //…
  api: {
    bitrise: {
        token: 'token'
    }
  }
}

Widgets

Bitrise Build history

bitrise build history

Display bitrise repo build history

parameters

key required description
slug yes app slug
limit no Limit the fetched builds

usage

{
  type: 'bitrise.build_history',
  slug: '<app slug>',
  limit: 10,
  columns: 1, rows: 1, x: 0, y: 0
}

Bitrise Single build status

bitrise.single_build_status

Display the build status of a single build.

parameters

key required description
slug yes app slug
workflow yes workflow id
title no An optional title

usage

{
    type: 'bitrise.single_build_status',
    title: 'An optional title',
    slug: '<app slug>',
    workflow: '<workflow id>',
    columns: 1, rows: 1, x: 0, y: 0
}