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

Endpoint to get all the commits which have been deployed

    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

      Currently, we have way, using environment variable BITBUCKET_COMMIT and git cli, to retrieve the message of the commit which have triggered the build. It useful for some conditional step execution.

      But I can't think of a way to retrieve the messages of all the commits which are deployed to an environnment.

      Use case : I deploy to a test environment, and sometimes, I need to wipe the database. I can do that with a key word in the commit message, but what if this is not the triggering commit's message which contains the keycord, but its parent... which is deployed as well but didn't trigger the build ?

      Attachments

        Activity

          People

            ayang@atlassian.com Aneita
            a3bc37514764 PierrickPuimeanChieze
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: