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 '"https://github.com/myteam/myrepo.git" {instance id=3, parent internal id=3, parent id=myrepoCi_HttpsGithubCommyteammyrepoGitRefsHeadsMaster, description: "https://github.com/myteam/myrepo.git#master"}'
Collecting changes failed: org.eclipse.jgit.errors.CorruptObjectException: Object 071422fb94c1526ef7244a5176984a37abb7de8a is corrupt: 'git fetch' command failed.
stderr: https://myteam-deploy@github.com/myteam/CloudStructures: https://myteam-deploy@github.com/myteam/CloudStructures/info/refs?service=git-upload-pack not found
Please sign in to leave a comment.
Please check a solution in TW-17906.
Thanks a lot !
This issue has resolved.
However, this submodule cannot checkout after several hours.
I create a new topic http://devnet.jetbrains.com/thread/450724.