Automate your Bitbucket – Continuous Integration Flow
Automate your Bitbucket Flow – Workzone Automerge CI Integration
Auto-Merge with Continuous Integration Systems
Workzone can be set up to automatically merge Pull Request triggered by build results. For example you have a user based review and approval process (see above ‘Branch Reviewers’) for Pull Request from feature and bugfix branches to develop/release branches. The next Pull Request from develop to master branch doesn’t really need a user based review. But you want to make sure it built and ran all tests successfully.
- In Bitbucket > Repository Settings > Pull Requests : require 1 successful build
- In Bitbucket > Repository Settings > Workzone : define an auto-merge configuration for develop >> master with ‘Watch Build Result’ turned on