当我在 ADO 构建管道中使用 PS 任务但在命令行任务中同样失败时,使用下面的工作。
git push https://[email protected]/MyORG/Work%20Management/_git/Work%20Mgmt%20-%20ME
命令行任务中显示的失败:
##[error]remote: TF200016: The following project does not exist: Work0Management. Verify that the name of the project is correct and that the project exists on the specified Azure DevOps Server.
fatal: repository 'https://dev.azure.com/MyORG/Work0Management/_git/Work0Mgmt0-0ME/' not found
它似乎%2
正在从 URL 中删除。
我尝试使用@'URL'
但失败了致命:'@'https'
不支持协议错误。
在 ADO 中,我们是否应该更喜欢 PS 而不是命令行任务?注意:在使用 PS 时,我们现有的构建代理几乎没有其他问题,因此我计划将 CML 任务用于 git 活动。
用%%20更改%20的出现。命令外壳将%2解释为空参数。剩下0。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句