Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,457,864
Community Members
 
Community Events
176
Community Groups

git.exe lfs fetch fails

I have a Git repository that contains Git LFS files. Git.exe is configured in server capabilities and repository authentication is SSH.

When the repository has 'Enable LFS support' unchecked everything works great, but LFS files a

When I check  'Enable LFS support', I get

Caused by: com.atlassian.bamboo.plugins.git.GitCommandException: command ['C:\Program Files\Git\bin\git.exe' lfs fetch 
ssh://{removed}@127.0.0.1:59323/{removed}/{removed} refs/heads/development] failed with code 2. Working directory was [E:\bamboo-home\local-working-dir\393217\MA-MSP-JOB1]., stderr:
fetch: Fetching reference refs/heads/development
batch request: 'E:\Program' is not recognized as an internal or external command,
operable program or batch file.: exit status 1
batch request: 'E:\Program' is not recognized as an internal or external command,
operable program or batch file.: exit status 1
batch request: 'E:\Program' is not recognized as an internal or external command,
operable program or batch file.: exit status 1
batch request: 'E:\Program' is not recognized as an internal or external command,
operable program or batch file.: exit status 1
error: failed to fetch some objects from 'https://127.0.0.1/{removed}/{removed}.git/info/lfs'
at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:773)
at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:702)
at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:693)
at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runLfsFetchCommand(GitCommandProcessor.java:627)
at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.fetch(NativeGitOperationHelper.java:542)
... 29 more
Failed to prepare the build '{removed}' - Default Job #21 (MA-MSP-JOB1-21)'

I'm running Bamboo on Windows and it's installed in E:\Program Files\Bamboo.

It seems like it's trying to run something in that folder without quotes.

I've added a Bamboo task to run "git lfs install" to ensure that's done.

I'm at a loss to know where to go from here.

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events