Hi,
BITBUCKET_COMMIT gives my the commit hash of the current commit that has kicked off the current build. For my use case, I require the commit has of the commit that was pushed the last time before the current commit.
In Gitlab, the same is available with the CI variable `CI_COMMIT_BEFORE_SHA`. Is there something similar in Bitbucket Pipelines or any way to figure it out?
Appreciate any ideas here... Thanks!
Saurabh