How to checkout into a commit that was pushed in a previous step in bitbucket pipelines? #3201
Unanswered
tomerh2001
asked this question in
Q&A
Replies: 1 comment
-
bitbucket pipelines are beyond the scope of support provided by the maintainers of this project. the best i can offer are a couple of things to consider that could enable you to avoid this situation.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have the following bitbucket pipeline:
I'm looking for a way to reliably check into the commit that was pushed (or just the latest commit of the branch) within the deploy step; how can you do that?
I tried
git checkout $BITBUCKET_BRANCH,
but that didn't work.Beta Was this translation helpful? Give feedback.
All reactions