Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get latest succeeded commit hash after deployment failures (Bitbucket) #592

Closed
sjurgis opened this issue May 9, 2023 · 0 comments
Closed
Assignees
Labels
CI/CD CI/CD context

Comments

@sjurgis
Copy link

sjurgis commented May 9, 2023

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?

@mehdicherf mehdicherf added the CI/CD CI/CD context label May 9, 2023
@scolladon scolladon self-assigned this May 10, 2023
Repository owner locked and limited conversation to collaborators May 10, 2023
@scolladon scolladon converted this issue into discussion #595 May 10, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
CI/CD CI/CD context
Projects
None yet
Development

No branches or pull requests

3 participants