mozaik-ext-bitrise-superagent
v0.0.1
Published
Mozaik Bitrise Extension with bluebird-superagent-promise
Downloads
3
Maintainers
Readme
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
key | env key | required | description
----------------|---------------------------------|----------|-----------------------------------
token
| BITRISE_API_TOKEN | yes | The Bitrise API Token
usage
{
//…
api: {
bitrise: {
token: 'token'
}
}
}
Widgets
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
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
}