簡體   English   中英

Bamboo + Git Azure DevOps = “致命:無法從遠程存儲庫讀取。”。 適用於 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-repository 和 git-submodule-repository 位置在同一個 DevOps Azure。

我看到 Base git-repository checkout 可以,但是 git-submodule 不行。

我哪里錯了?!

您可以嘗試在 azure devops 上創建一個PAT並在 Bamboo 上設置一個 repo,如下所示:

認證類型:無

https://<token>@dev.azure.com/<organization>/<project>/_git/<repository>

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM