I use a Bitbucket server (7.7.1) with a Bamboo server (7.2.1), so there is a default trigger Bitbucket server repository trigger which is triggered whenever there is a push to the branch.
This is not the behaviour I expect because my required behaviour is that a build is triggered only when there is an open PR for this branch (e.g. merging the branch into develop). Is there any way it can be achieved?
Actually I have found a solution. I needed to go to Edit plan -> Branches and select When pull request is created. In this case Bamboo creates a new sub-plan for the branch and triggers a build. This is exactly what I require
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.