Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I use the actual artifact of a git-lfs file from a cloned repo in bitbucket pipelines? Edited

So in my pipeline I clone a repo that has a bunch of git lfs tar files. I then extract (tar xvf) one of the files. 

In the clone step I have:

`lfs: true` 

However tar fails, and I confirmed that if I manually add the original file, tar works as intended and extracts. 

I also ensured that I am in the Docker image `atlassian/default-image:2`, which supports git, if that was an issue. 

In further research I did find the "git lfs migrate export" command, but apparently `git lfs` commands are not supported (second to last paragraph).

 

How do I clone the repo and extract the original file?

 

EDIT: So if I have the lfs files on the same repo, the "lfs: true" step works properly and I can extract the files. 

 

But when I clone from a separate repo it does not clone the actual artifacts. 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Calling any interview participants for Bitbucket Data Center

Hi everyone,  We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...

644 views 7 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you