This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Get latest succeeded commit hash after deployment failures (Bitbucket) #592
Labels
CI/CD
CI/CD context
Apologies, but this is more of a practical question for community members, than about sgd.
Lets say deployment #1 fails and a fix is submitted. Comparing changes between HEAD~1 and HEAD will discard changes from deployment #1.
My idea is to query last n pipeline runs to get commit hash from latest successful run and then compare that to HEAD.
How do you solve this? Is there some gold standard?
The text was updated successfully, but these errors were encountered: