Atlassian

Faster feedback on merges with pull request pipelines

Dec 11, 2018Aneita Yang
Faster feedback on merges with pull request pipelines
SummaryAI, from the source post

This post introduces the capability to configure Bitbucket Pipelines to run specifically for pull requests. This involves adding a `pull-requests` keyword to the `bitbucket-pipelines.yml` file, which triggers a temporary merge of the pull request changes with the destination branch. The defined pipeline then runs on this merged result, providing early feedback on breaking changes and increasing reviewer confidence. The feature allows for different pipeline configurations based on branch prefixes and can be used to run a full test suite for critical branches or a smaller set of tasks for feature branches.

More from the Bitbucket Pipelines Runner trail