简体   繁体   English

如何将 Azure DevOps 服务器存储库与 Azure DevOps 服务管道集成

[英]How to integrate Azure DevOps Servers repositories with Azure DevOps Services Pipelines

We recently planning to move to the Azure DevOps SaaS version.我们最近计划迁移到 Azure DevOps SaaS 版本。 Here we going to create the pipelines based on source code, Repos of on-premise Azure DevOps Server 2020.1.1.在这里,我们将基于源代码创建管道,即内部部署 Azure DevOps Server 2020.1.1 的 Repos。 I tried with "other git" Service connection but the results not much expected.我尝试使用“其他 git”服务连接,但结果并不理想。 It is failing when am creating with PAT.使用 PAT 创建时失败。 So I created with my credentials.所以我用我的凭据创建。 Auto triggering is not working when new code check-in and other branches are not showing except the master.当新代码签入和除 master 之外的其他分支未显示时,自动触发不起作用。

Then after I created a service connection based on "Azure repos/Team Foundation Server", But the service connection not showing on while creating the classic pipeline.然后在我创建了一个基于“Azure repos/Team Foundation Server”的服务连接之后,但是在创建经典管道时服务连接没有显示。 Please some one help me, how can we create the pipelines in Azure DevOps Services based on On-Premise Azure DevOps server repos.请有人帮助我,我们如何在基于本地 Azure DevOps 服务器存储库的 Azure DevOps 服务中创建管道。 How can we integrate both.我们如何将两者结合起来。 Please someone help me on this.请有人帮我解决这个问题。 Thank you谢谢

To integrate TFS repo with Azure DevOps Pipeline, you could use "Azure Repos/Team Foundation Server" service connection type: https://learn.microsoft.com/en-us/azure/devops/pipelines/library/service-endpoints?view=azure-devops&tabs=yaml#azure-repos To integrate TFS repo with Azure DevOps Pipeline, you could use "Azure Repos/Team Foundation Server" service connection type: https://learn.microsoft.com/en-us/azure/devops/pipelines/library/service-endpoints?视图=azure-devops&tabs=yaml#azure-repos

在此处输入图像描述

To communication from TFS with Azure DevOps, you need to Ensure the following DevOps IP addresses are allowed for inbound connection on your local TFS machine: https://learn.microsoft.com/en-us/azure/devops/organizations/security/allow-list-ip-url?view=azure-devops&tabs=IP-V4#inbound-connections To communication from TFS with Azure DevOps, you need to Ensure the following DevOps IP addresses are allowed for inbound connection on your local TFS machine: https://learn.microsoft.com/en-us/azure/devops/organizations/security/ allow-list-ip-url?view=azure-devops&tabs=IP-V4#inbound-connections

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM