サブモジュールが 1 つあるリポジトリでビルドを実行しようとしていますが、「ビルドを開始できませんでした」というメッセージが表示されTeamCity 6.5.6
ます。git
.gitmodules
ファイル:
[submodule "src/shared-contracts"]
path = src/shared-contracts
url = gitolite@myserver:shared-contracts
スタックトレース:
Failed to start build: Server was not able to build correct patch, most likely due to VCS errors, will try again.
jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl$1: Server was not able to build correct patch, most likely due to VCS errors, will try again.
Caused by: jetbrains.buildServer.vcs.patches.UnsuccessfulPatchException: Failed to build patch for build #s5 {build id=19947}, VCS root: gitolite@myserver:myrepo#mapi-qa {instance id=1152, parent id=280}, due to error: Patch building failed: org.eclipse.jgit.errors.CorruptObjectException: Repository 'gitolite@myserver:myrepo' has submodule in commit 'c8f8416d86e3ed274302ff2f316792a37f041322' at path 'src/shared-contracts', but has no entry for this path in .gitmodules configuration.
ローカルで新しいクローンを作成し、TC 構成からブランチをgit submodule update --init
チェックアウトし、サブモジュールを src/shared-contracts に正しくチェックアウトしました。
何か案は?