Git Submodule Issues

I have one project with multiple submodules in TeamCity for evaluating. TeamCity git is unable to handle intial checkout with CorruptObjectException for the first build.

Here is the error I get when this happens: (myteam and myrepo are turned letter and this is the private github repository.)

Failed to start build  #12 on ***some-agent***

Failed to collect changes, error: Error collecting changes for VCS repository '"" {instance id=3, parent internal id=3, parent id=myrepoCi_HttpsGithubCommyteammyrepoGitRefsHeadsMaster, description: ""}'
Collecting changes failed: org.eclipse.jgit.errors.CorruptObjectException: Object 071422fb94c1526ef7244a5176984a37abb7de8a is corrupt: 'git fetch' command failed.
stderr: not found   
Comment actions Permalink

Please check a solution in TW-17906.

Comment actions Permalink

Thanks a lot !
This issue has resolved.
However, this submodule cannot checkout after several hours.
I create a new topic


Please sign in to leave a comment.