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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Pipelines problem with git submodules and .NET5 image


This week I've updated an application to .NET5, also updated the pipeline image from: image: to image:

The initial step of my pipeline is using a git submodule like:

- git config --file .gitmodules submodule..folder/company.rulesets.url ""
- git submodule update --init --recursive


This step fails with the following output:

Submodule '.folder/company.rulesets' ( registered for path '.folder/company.rulesets'
Cloning into '/opt/atlassian/pipelines/agent/build/.folder/company.rulesets'...
error: cannot run ssh: No such file or directory fatal: unable to fork
fatal: clone of '' into submodule path '/opt/atlassian/pipelines/agent/build/.folder/company.rulesets' failed
Failed to clone '.folder/company.rulesets'. Retry scheduled


I've verified even re-created and added an ssh key in the ruleset repository. Am I missing something here?

1 answer

1 accepted

1 vote
Answer accepted

The image does not contain any ssh client. I've fixed this issue by installing openssh-client in the pipelines file, see below.

# Install open-ssh
- apt-get update
- apt-get install --yes openssh-client

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,826 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you