Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-11675

Triggering a build only when the change is pushed to a particular branch

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      We have one private repository and 20+ branches. We need to trigger a build only when change is pushed to a particular branch say branch3. For that purpose we created Webhook and added a rule stating that if Pull request is approved and merged then the build will be triggered. but we have observed that, build is getting triggered on any pull request approval. Eg. If pull request is approved for branch2 then webhook is being triggered. We want to trigger a build only and only when there is change pushed to a particular branch.

      Attachments

        Activity

          People

            legacy-bitbucket-user Legacy Bitbucket Cloud User (Inactive)
            legacy-bitbucket-user Legacy Bitbucket Cloud User (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: