I have in my Azure Pipeline, checkout step with lfs:true
in my release branch.
steps:
- checkout: self
clean: true
lfs: true
When the build runs, it gives the following error.
Error downloading object: /Path/to/DLL file (31a4c7b): Smudge error: Error downloading /Path/to/DLL file (31a4c7bxxxxxxxxxxxxxxxxxxxx): batch response: Expected json type, got: "text/plain; charset=utf-8"
The trouble is when I run the same checkout for master branch in another pipeline, it works fine. Any suggestions or possible directions?
I ran git lfs checkout
on my local machine. I got Skipped checkout for "/path/to/DLL/file", content not local. Use fetch to download
message for 92 files that I was having trouble with, and it listed all the 92 files. I went to master
branch, downloaded these 92 files and uploaded them to my release
branch. I ran the build, but it still did not pull the lfs files. Finally, I deleted the entire contents of the s
folder which the pipeline uses while running and ran the build again. This time it worked like a charm and pulled all the lfs files correctly