【发布时间】:2020-12-15 10:51:01
【问题描述】:
我想克隆一个从 Git 存储库构建的 Azure 管道。按照此处的说明 -- https://docs.microsoft.com/en-us/azure/devops/pipelines/get-started/clone-import-pipeline?view=azure-devops&tabs=classic#clone-a-pipeline ,我在点击管道上的“编辑”时点击了“克隆”...
然后在下面的屏幕上更改了构建存储库的分支并单击“保存”。输入我的评论并保存后,我得到了这个错误......
The pipeline is not valid. Job Job_2: Step input connectedServiceNameARM references service connection 2b45...959e8d3d which could not be found. The service connection does not exist or has not been authorized for use. For authorization details, refer to https://aka.ms/yamlauthz. Job Job_1: Step input connectedServiceNameARM references service connection 2b45...959e8d3d which could not be found. The service connection does not exist or has not been authorized for use. For authorization details, refer to https://aka.ms/yamlauthz.
我“认为”错误消息是指管道的“代理作业”部分,如下所示
我对错误消息所指的内容一无所知,并且很好奇是否有办法克隆我的管道。
编辑:响应给出的答案,结果我的项目中根本没有定义任何服务连接。当我点击项目设置中的“服务连接”链接时,我看到的只是这个......
【问题讨论】:
-
听起来可能是服务连接需要更新。
-
如果是这样,那是不是意味着从中克隆它的管道将无法运行?
标签: azure azure-pipelines clone