tag:help.appveyor.com,2012-11-13:/discussions/problems/6445-build-fails-when-cloning-an-lfs-enabled-git-repo-from-bitbucketAppVeyor: Discussion 2018-08-25T02:16:11Ztag:help.appveyor.com,2012-11-13:Comment/423108692017-04-06T18:26:09Z2017-04-06T18:26:09ZBuild fails when cloning an LFS-enabled git repo from Bitbucket<div><p>Hi Andrey,</p>
<ul>
<li>Does this command works OK on your local machine? If yes, what Git LFS version you have?</li>
<li>Can you repro the same behavior if you connect to build worker with [RDP]?(<a href="https://www.appveyor.com/docs/how-to/rdp-to-build-worker/">https://www.appveyor.com/docs/how-to/rdp-to-build-worker/</a>)</li>
<li>Can you try to run this command as <code>init</code> or <code>clone_script</code> instead of <code>install</code>?</li>
<li>If this repo public for us to take a look?</li>
</ul>
<p>Answering your second question -- yes you can use <a href="https://www.appveyor.com/docs/build-cache/">build cache</a></p>
<p>Ilya.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/423108692017-04-06T18:35:58Z2017-04-06T18:35:58ZBuild fails when cloning an LFS-enabled git repo from Bitbucket<div><p>Also, LFS puts detailed log into <code>.git\lfs\objects\logs\</code> directory. You may want to either print it to the build log or attach as artifact with a script like that:</p>
<pre>
<code>on_failure:
- ps: Get-ChildItem .git\lfs\objects\logs\* | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }</code>
</pre></div>Feodor Fitsner