Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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 Champion
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