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

fatal: not a git repository (or any of the parent directories): .git during build setup

Tamas _Gensam_
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 3, 2024

Hello,

I have get an error where my bitbucket pipeline fails during build setup:

bb-pl-fail.png
The runner is self hosted and I've followed: the guide set up runners for windows

On my computer I've got:

  • OpenJDK 11 (11.0.15 or newer) is installed

    • Im running BellSoft Liberica 11.0.17
  • Git 2.35.0 and above

    • 2.45.x
  • PowerShell 5.0 and above

    • Yes and got pwsh 7 installed
  • A 64-Bit Windows 10+

    • windows 11

 

I've tried runner version 2.5.0 and 2.4.0 just to be sure.

The runner is installed in C: drive and powershell was run as admin at all times during installation.


It seems like the runner is not changing directory but no way for me to confirm this.

 

Since in quite new to all of this i would hope for some advice on how to correct this.

PS:
I've seen the following issue 

 

https://community.atlassian.com/t5/Bitbucket-questions/quot-fatal-not-a-git-repository-or-any-of-the-parent-directories/qaq-p/2739265

But there seems to be no solution as i am posting this.

1 answer

1 vote
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 3, 2024

G'day, @Tamas _Gensam_ 

Welcome to the community!

We may need more information to investigate this issue, and I can see that you have a paid workspace. So, could you raise a support ticket on our Support portal?

Regards,
Syahrul

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events