[Feature request] Add support for Bitbucket Pipelines
cedx opened this issue · 0 comments
cedx commented
Like the GitHub "checks" badge, but for Bitbucket. Not sure if this is possible...
Bitbucket provides a dedicated REST API, it seems that we must get the more recent pipeline from this endpoint:
https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pipelines/#api-repositories-workspace-repo-slug-pipelines-get
Next, with the uuid
of this pipeline, we can get its state
:
https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pipelines/#api-repositories-workspace-repo-slug-pipelines-pipeline-uuid-get