所以我建立了一個發布管道,并希望將構建管道和 Git 存盤庫作為工件鏈接起來。一切正常,我已經在另一個管道中嘗試過。但是,當我嘗試克隆位于另一個團隊專案中的存盤庫作為管道時,我收到 Git 錯誤 128:
remote: TF401019: The Git repository with name or identifier my_repo.git does not exist or you do not have permission for the operation you are attempting.
fatal: repository 'https://MyUrl/MyCollection/MyProject/_git/my_repo.git/' not found
#[error]Downloading artifacts failed: System.InvalidOperationException: Git fetch failed with exit code: 128
但是,可以從其他團隊專案中選擇 repos,所以我認為理論上應該可行。這是可能的,還是我必須更改一些安全設定才能使其正常作業?如果是這樣,我該怎么做?
非常感謝任何幫助!
uj5u.com熱心網友回復:
您應該轉到 Project Settings -> Pipelines -> Settings 并取消選擇Limit job authorization scope to referenced Azure Devops Repositories。
默認情況下,在 Azure DevOps 專案中會選中此項。
轉載請註明出處,本文鏈接:https://www.uj5u.com/net/391823.html
