Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bitbucket pipeline fails cloning because .git/info/ does not exist

Alessandro Mulloni
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!
April 29, 2025

I am running a plain pipeline on a self-hosted macOS runner.

 

Here the pipeline configuration:

 

pipelines:

default:

- step:

runs-on:

- 'self.hosted'

- 'macos'

- 'interactiveimages'

name: Test pipeline

script:

- echo "Hello"

 

The pipeline fails in the setup because .git/info does not exist (I removed my own path, but the base folder exists).

 

+ echo ".bitbucket/pipelines/generated" >> .git/info/exclude
/<MY PATH>/atlassian-bitbucket-pipelines-runner/bin/../temp/f18d6cfa-d565-5adf-a38b-8cc27955f5c8/tmp/cloneScript7259210656942831597.sh: line 37: .git/info/exclude: No such file or directory

 

I could not find a way to edit the clone script, it seems to be hard-coded in Bitbucket.

 

Thanks

Alessandro

 

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events