Details
-
Suggestion
-
Resolution: Won't Fix
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 ?