Windows Bamboo fail to detect changes from SSH Git repository
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
問題
Bamboo fail to detect changes from SSH Git repository.
The following appears in the atlassian-bamboo.log
2017-02-18 22:50:39,112 INFO [11-BranchDetectionBackgroundThread:pool-19-thread-1] [DefaultErrorHandler] Recording an error: Repository error while detecting branches for plan PROJ-PLAN. com.atlassian.bamboo.plugins.git.GitCommandException: command D:\ProgramFiles\Git\cmd\git.exe ls-remote ssh://d5d7963a-4992-446f-b4f8-02833adbc8f1@127.0.0.1:60245/proj/repo.git failed with code 128. Working directory was [D:\ProgramFiles\Atlassian\ApplicationData\bamboo-home\xml-data\build-dir]., stderr:
1 [main] ssh 4276 D:\ProgramFiles\Git\usr\bin\ssh.exe: *** fatal error - add_item ("\??\D:\ProgramFiles\Git", "/", ...) failed, errno 1
Stack trace:
Frame Function Args
000FFFF9BB0 0018005C24E (0018023F612, 0018021CC39, 000FFFF9BB0, 000FFFF8B30)
000FFFF9BB0 001800464B9 (000FFFFABDE, 000FFFF9BB0, 1D28A3102147699, 00000000000)
000FFFF9BB0 001800464F2 (000FFFF9BB0, 00000000001, 000FFFF9BB0, 505C3A445C3F3F5C)
000FFFF9BB0 001800CAA8B (00000000000, 000FFFFCE00, 001800BA558, 1D28A310B055E99)
000FFFFCC00 00180118745 (00000000000, 00000000000, 001800B2C5E, 00000000000)
000FFFFCCC0 00180046AE5 (00000000000, 00000000000, 00000000000, 00000000000)
00000000000 00180045753 (00000000000, 00000000000, 00000000000, 00000000000)
000FFFFFFF0 00180045804 (00000000000, 00000000000, 00000000000, 00000000000)
End of stack trace
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.原因
It might be a bug in Git for Windows.
回避策
Upgrade to the latest Git for Windows
更新日時: September 25, 2025
この内容はお役に立ちましたか?
さらにヘルプが必要ですか?
アトラシアン コミュニティをご利用ください。