Skip to content

Compatibility with Bitbucket's newly introduced "Required Builds" #429

Description

@antonakospanos

What feature do you want to see added?

Bitbucket introduced "Required Builds" which allows us to block from merging PRs whose CI failed.

The admin provides in the "Required Builds" the key of the CI that is required. In case of multi-branch jenkins jobs the matching is done with the parent key, not the key that holds the branch name.

Can we switch from the old API:

$BITBUCKET_URL/rest/build-status/1.0/commits/{commitId}

to the new API:

$BITBUCKET_URL/rest/api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/builds

that includes the parent field too?

Upstream changes

No response

Are you interested in contributing this feature?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for Enhancement.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions