Pipelines, can I create status checks via API against a pull request or commit?

Lorenzo Frattini May 24, 2016

This question is in reference to Atlassian Documentation: Bitbucket Pipelines (beta)

I have a code analysis tool and I would like to run the code analysis on every pull request, and write back to Bitbucket a pass/fail status check against the SHA/commit. Is this possible using pipelines/APIs?

It's very easy to trigger the integration via Pipelines or Webhooks, but I want to write back to Bitbucket that that specific SHA/commits passed all checks.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
Answer accepted
evzijst
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 24, 2016

Yes, you can post your own commit/build statuses directly to a commit through the API: https://confluence.atlassian.com/pages/viewpage.action?pageId=779295267

TAGS
AUG Leaders

Atlassian Community Events