I am developing a workflow using BitBucket and Bamboo, and can't for the life of me figure out how to tell Bamboo to create plan branches on a pull request. In fact, I see nothing at all in Bamboo Build plans about pull requests. I am able to get Bamboo to respond to a general commit on a matching plan branch, but we want our developers to do a code review and create a PR rather than having Bamboo handle auto-merging at that point. How are PRs generally handled in Bamboo? Is there a better way to do it?
Hi Derek,
Currently Bamboo doesn't handle pull requests very well (or at all honestly). Here is the existing feature request to get this functionality into Bamboo: https://jira.atlassian.com/browse/BAM-14844
Until that functionality has been baked into Bamboo the only workaround would be to write a plugin or API tool yourself.
Apologies that a better solution isn't available at this time!
Thanks
Turner
Is there a recommended workflow for CI/CD using BitBucket and Bamboo?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We're using this to build, test, and deploy a PHP web application (Magento)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There have been some recent developments on this front. Bamboo 6.0 is able to trigger build in response to pull request create and update events. It can also be configured to create the theoretical merge of the source and target branches before building, increasing the chances of catching an integration problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you provide a link to any documentation on this? I'd like to explore this as a possibility.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, I simply set the bamboo build plan to check for commits at an specific branch, so when o merge the pull request it triggers the build.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Anuar Mamede Neto I think you may have misunderstood the requirement here. The requirement is to trigger a build on PR creation, not once it’s merged.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Anuar Mamede Neto did you manage to figure this out ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, was for @Ashvin Narayanan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As @Ashvin Narayanan said, I misunderstood.
So, no, I have not figured it out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Ashvin Narayanan hello sir did you get a solution for triggering a bamboo build after a pull request
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.