Bamboo + Git Azure DevOps = "fatal: Could not read from remote repository."。对于 Git 个子模块
Bamboo + Git Azure DevOps = "fatal: Could not read from remote repository.". For Git Submodule
我尝试从 DevOpsAzure 中的 Git 存储库在 Bamboo 中检出,然后查看下一步:
simple 18-Jul-2020 15:11:55 Submodule '***' (***) registered for path '***'
simple 18-Jul-2020 15:11:55 Cloning into '***'...
simple 18-Jul-2020 15:11:55 Warning: Permanently added 'vs-ssh.visualstudio.com,**IP**' (RSA) to the list of known hosts.
simple 18-Jul-2020 15:11:56 remote: Public key authentication failed.
simple 18-Jul-2020 15:11:56 fatal: Could not read from remote repository.
simple 18-Jul-2020 15:11:56
simple 18-Jul-2020 15:11:56 Please make sure you have the correct access rights
simple 18-Jul-2020 15:11:56 and the repository exists.
子模块配置为 ssh 路径。
基本 git-存储库和 git-子模块存储库位于同一 DevOps Azure。
我看到基础 git-存储库签出正常,但 git-子模块不正常。
我哪里错了?!
您可以尝试在 azure devops 上创建一个 PAT 并在 Bamboo 上设置一个存储库,如下所示:
身份验证类型:None
https://<token>@dev.azure.com/<organization>/<project>/_git/<repository>
我尝试从 DevOpsAzure 中的 Git 存储库在 Bamboo 中检出,然后查看下一步:
simple 18-Jul-2020 15:11:55 Submodule '***' (***) registered for path '***'
simple 18-Jul-2020 15:11:55 Cloning into '***'...
simple 18-Jul-2020 15:11:55 Warning: Permanently added 'vs-ssh.visualstudio.com,**IP**' (RSA) to the list of known hosts.
simple 18-Jul-2020 15:11:56 remote: Public key authentication failed.
simple 18-Jul-2020 15:11:56 fatal: Could not read from remote repository.
simple 18-Jul-2020 15:11:56
simple 18-Jul-2020 15:11:56 Please make sure you have the correct access rights
simple 18-Jul-2020 15:11:56 and the repository exists.
子模块配置为 ssh 路径。 基本 git-存储库和 git-子模块存储库位于同一 DevOps Azure。
我看到基础 git-存储库签出正常,但 git-子模块不正常。
我哪里错了?!
您可以尝试在 azure devops 上创建一个 PAT 并在 Bamboo 上设置一个存储库,如下所示:
身份验证类型:None
https://<token>@dev.azure.com/<organization>/<project>/_git/<repository>