我们有一个开发服务器托管来自多个 Azure DevOps 项目的 Web 服务。为了使用 yaml 部署管道,我们从部署池迁移到环境/资源。与部署池不同,项目之间不能共享环境和资源。您可以在这里投票来改变这一点。
我们按如下方式解决这个问题。
不幸的是,如果服务器上已经安装了环境代理,这会产生命名冲突。
The service already exists: vstsagent.MyDevOpsAccount..MyServer, it will be replaced
Error: Operation CreateService failed with return code 1072
Run Code Online (Sandbox Code Playgroud) azure-devops azure-pipelines azure-pipelines-release-pipeline azure-pipelines-yaml