Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3673240
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T02:42:30+00:00 2026-05-19T02:42:30+00:00

Trying to configure TeamCity to build our project, I’m having trouble getting the git

  • 0

Trying to configure TeamCity to build our project, I’m having trouble getting the git VCS module to checkout a submodule. The submodule should be checked out using the same authentication as the root module, but I cannot figure out how to configure TeamCity for this. I have tried both password and private key authentication, but they both fail:

[12:07:14]: Patch is broken, can be found in file: C:\TeamCity\buildAgent\temp\cache\temp8149231956777659708patch_48
[12:07:14]: RunBuildException when running build stage UpdateSourcesFromServer: Failed to build patch for build 31 {build id=48}, VCS root: ssh://host/repo#master {id=2}, due to error: Patch building failed: 
jetbrains.buildServer.buildTriggers.vcs.git.submodules.SubmoduleFetchException: Cannot fetch submodule. Repository URL: 'ssh://*****@host/repo', submodule path: 'subrepo'.
org.eclipse.jgit.errors.TransportException: ssh://*****@host/subrepo: Auth fail
com.jcraft.jsch.JSchException: Auth fail

TeamCity runs on a windows machine and the git repos are on a linux machine.

Is it possible to configure authentication for submodules in TeamCity, or can anyone come up with a good workaround?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T02:42:31+00:00Added an answer on May 19, 2026 at 2:42 am

    This seems to have been an issue with TeamCity 5. I now have upgraded to TeamCity 6 and the project checks out fine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently trying to upgrade our build server at work, going from having no
While trying to configure eclipse, tomcat to debug a maven project I am getting
I'm trying to configure and Maven multi-module project with Spring / JPA. Here's the
I am trying to configure mercurial with teamcity but getting the following error: stderr:
I'm trying to configure our resource build to take version info on the command
I am trying to configure TeamCity 5.0 to run Publish target on one of
I am trying to configure maven I am getting the following error https\://maven.java.net/content/groups/public/.error=Could not
I am trying to convert a build system setup with TeamCity and Nant scripts
In trying to configure ServiceStack.net to use Ninject as its IOC, I am getting
Am trying to configure a two component picker, and am getting some errors which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.