0.0.1 • Published 5 years ago

mozaik-ext-bitrise-superagent v0.0.1

Weekly downloads
3
License
BSD-3-Clause
Repository
github
Last release
5 years ago

Mozaïk bitrise widgets

Based on mozaik-ext-bitrise by lovoo

Bitrise Client Configuration

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

parameters

keyenv keyrequireddescription
tokenBITRISE_API_TOKENyesThe Bitrise API Token

usage

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

Widgets

Bitrise Build history

bitrise build history

Display bitrise repo build history

parameters

keyrequireddescription
slugyesapp slug
limitnoLimit 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

keyrequireddescription
slugyesapp slug
workflowyesworkflow id
titlenoAn 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
}