I set up git-lfs
on my private repository and everything works perfectly from the command line.
I set up my TeamCity build agents to have git-lfs
installed and initialized. However, when I try running it though the TeamCity build, the git-lfs pull
command hangs forever, and no data is transferred at all. My task manager shows git-lfs.exe existing, but being idle. When manually testing it from the work folder of the agent (on the agent machine), git-lfs pull
or git lfs pull
successfully downloads all the large files.
My build configuration has the git-lfs pull
as the very first build step and it executes immediately after the sources have been updated.
Does anyone know why running git-lfs pull
via TeamCity build process is any different than running git-lfs pull
on the command line inside the build agent?
I'm using TeamCity 10.0.2 (42234) and my agents are updated.
Run "git-lfs install --system" to enable lfs feature on agent.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With