Caused by: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/local/bin/git lfs logs last failed with code 1.
Working directory was [/Users/user/Documents/Bamboo_Home/xml-data/build-dir/_git-repositories-cache/29f637727e04d71afc3648b2a81336eb9655811a]., stderr:
01-Oct-2017 20:56:23 git: 'lfs' is not a git command. See 'git --help'.
This only happens on my mac... My PC has 0 issues.
I've tried installing LFS again.
It says it is.
Pointing everything to the bin directory and the local directory
Funny thing is if I try and do the command manually it pops out the lfs info.
Not sure what to do. Thanks in advance
Hi Timothy,
Have you ensured that LFS is initialized for the user running Bamboo? If LFS was installed for only a single user, Bamboo may not have access to run LFS.
It may also be helpful to clear Bamboo's local repository cache. This documentation, Git Cache Removal in Bamboo, outlines the steps to do so.
It is installed as root.
I would like to point out that sourcetree works but not bamboo.
Tried clearing the logs to no effect either.
Manually running git clone works fine and running "which git" points back to the git I've told bamboo to use. That one is usr/local/bin/git
Not sure what else to do here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you please add Script task with command
git lfs version
and run this plan at your Mac agent. It will show if Git LFS is available for user running Bamboo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alexey
That appears to have failed!
So what's the remedy?
Thanks in advance,
tim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Maybe the better question is how do I find the user that is running Bamboo on my Mac.....? Or how do I change the user running it?
Tim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.