Prevent merge if a jenkins build fails (can't retrieve successful status)

Petr Shchukin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 12, 2020

How can I prevent PR from being merged if a build against the last commit of the current branch fails? I've turned on 'Minimum successful build' check, but how can I send the status of my build? I have a jenkins job which is being kicked off by native Web Hook. (I have no bitbucket plugins). Thanks.

1 answer

1 accepted

0 votes
Answer accepted
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 12, 2020

Hi @Petr Shchukin,

Welcome to Atlassian Community!

You need to notify Bitbucket about the status of the build. You can use this Jenkins app to do it, Bitbucket Build Status Notifier

Petr Shchukin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 12, 2020

Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events