In order to use the Mozaïk bitrise widgets, you must configure its client.
key | env key | required | description |
---|---|---|---|
token |
BITRISE_API_TOKEN | yes | The Bitrise API Token |
{
//…
api: {
bitrise: {
token: 'token'
}
}
}
Display bitrise repo build history
key | required | description |
---|---|---|
slug |
yes | app slug |
limit |
no | Limit the fetched builds |
{
type: 'bitrise.build_history',
slug: '<app slug>',
limit: 10,
columns: 1, rows: 1, x: 0, y: 0
}
Display the build status of a single build.
key | required | description |
---|---|---|
slug |
yes | app slug |
workflow |
yes | workflow id |
title |
no | An optional title |
{
type: 'bitrise.single_build_status',
title: 'An optional title',
slug: '<app slug>',
workflow: '<workflow id>',
columns: 1, rows: 1, x: 0, y: 0
}