Teamcity Git private Submodule checkout fails -


teamcity unable checkout git projects private git submodules (projects private , accessed username/password , use same credentails submodules), source stored on bitbucket , accessed on https. teamcity able using same vcs root checkout other projects without submodules fine (so im happy credentails/proxy issues not issue).

the error returned is:

failed build patch build #19 {build id=209, buildtypeid=ci_bc_123}, vcs root: "bitbucket vcs" {instance id=192, parent internal id=11, parent id=bitbucket_vcs, description: "https://bitbucket.org/team123/main-repo.git#"}, due error: 'build patch' command failed.  stderr: cannot fetch 'https://username123@bitbucket.org/team123/sharedasssetsrepo.git//username123@bitbucket.org/team123/sharedasssetsrepo.git' repository used submodule @ 'repo/sharedassets' path in 'https://bitbucket.org/team123/main-repo.git' repository in ba90b0c96170b1abf5af2322069662c7b541d908 commit 

and submodules follows

[submodule "repo/sharedassets"]    path =repo/sharedassets    url = ../sharedasssetsrepo.git [submodule "repob"]    path = resouceb    url = ../resourceb.git 

tc v 9.0.4 (build 32407) on windows server 2012 using server side checkout (agent reside on same server)

what i've tried:

  • confirmed git clone --recursive powershell pulls down repo , submodules correctly
  • convert submodule paths relative absolute
  • set git global proxy settings

i unable use agent side checkout @ (agents on same box mysysgit installed) fatal: unable access ' <<repo>> ': failed connect bitbucket.org port 443: timed out odd seeing server client can connect can git powershell (git path in teamcity set same git path in windows).


Comments