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

Hook fires only once for commit even if pushed to multiple branches (BB-9847)

    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

      I'm using deployhq for automated deployments. I keep a master, a staging and a live branch to keep code separate. I mostly work on master. When I think it should be deployed to the staging server, I checkout staging, merge master into it, and then push to remote staging. The problem is, if I already pushed the same commit to remote master, pushing to remote staging will not fire the post hook again.

      The automated deployment gets the payload, sees that it's on branch master, and ignores it. It does not get the payload with branch staging in it (which it should use for deployment).

      So essentially unless I push to staging first, I can't get automated deployments working. This is true when trying to deploy to a live site once everyone gave the thumbs up on the staging. Ideally it would be a checkout live, merge staging, push upstream live, and done.

      Any plans on making bitbucket fire hooks on push?

      Attachments

        Activity

          People

            Unassigned Unassigned
            Anonymous Anonymous
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: