Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,099
Community Members
 
Community Events
165
Community Groups

enabling merge button after jenkins jobs

Hi,

I've got a single bitbucket repository which has 3 generic webhooks associated with 3 jenkins jobs.

I also want to make sure that a pull request can be merged only after a succesful jenkins run (of job number 1).

Jenkins job number 1 is a "full CI". (which is why it is important)

jenkins job number 2 is a job which is adding metrics and statistics for a pull request. (less important for merging an open PR)

jenkins job number 3 is a backbone deployment setup for the DEV containers (not relevant for the code repository, as the docker and backbone are on a different repo)

the action of enabling merge button after jenkins jobs is not erally usefull.

I need to enable the merge button only after a successfull job of jenkins FULL CI.

the current plugin, if jobs "2" or "3" are failing, will disallow the merge button, even if jenkins job number "1" is success.

 

please advise.

1 answer

0 votes

Is there a way you can suppress Jenkins sending "build" results to Bitbucket for job 2 and 3 in the job configuration? Or only configure build results being sent for job 1..

yes, the jobs are based on a template.

I can split the template, then I'll have 2 of them to manage.

I just wonder if a solution like I tallked about is viable.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,223 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you