Bitbucket provides required build options to allow specific branches to have successful build before they can be merged. It requires a build key that is the name of the job. However, I can't seem to find the right build key as they job is successful but bitbucket still doesn't allow the merge to happen.
We have the same issue.
We have a mulitbranch pipeline and I cannot get it to match any of the Jenkins build keys.
It always tells me that there is a build needed, no matter what I give as key.
I have tried to far:
<project>
<project>/
<project>/*
<project>/<pipeline>
<project>/job/<pipeline>
<project>/<branch>/<pipeline>
nothing works.
Hi Tomas,
I have set up Bitbucket and Jenkins on virtual machine with integration using Bitbucket server integration plugin and managed to get the required-build to work. The build key is simply the job name. If the job is in folder you must include folder name. However, still having issue to get this to work on the organisation env. Investigating how to resolve it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.