Forums

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

Hii Actually My question is about bitbucket server

Akash Kaaa
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 18, 2022

I want to create a custom merge check which will check for jenkins particular stage is executed or not. 

My approach this problem is making a rest api call to jenkins server about build logs, based on logs I will take decision whether should I accept/reject the pull request. 

So my questions are 

Can I make a Rest Api call inside custom merge check? 

What is the way to create custom merge check? 

1 answer

0 votes
Erez Maadani
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 18, 2022

You can install apps/plugins that possibly can give you this ability.

Have a look here: https://marketplace.atlassian.com/addons/app/bitbucket

I believe that you can also try and write your own and I know there are some plugins which enables you to write scripts. 

Akash Kaaa
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 19, 2022

Thank you for response.. 

Actually Iam also looking at same solution as you suggest.. Thinking about Script Runner plugin.. 

Also it will be helpful if you share any resource on creating a bit bucket server plugin.. 

Erez Maadani
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 20, 2022

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events