在 Azure DevOps 上将 YAML 管道与 SVN 结合使用
Using YAML pipelines with SVN on Azure DevOps
我们在 SVN 存储库中有几个代码库,我们想添加 CI/CD 以使用 Azure DevOps。理想情况下,我想使用基于 YAML 的管道而不是经典的可视化设计器;但根据 documentation,YAML 仅支持 Azure Repos、BitBucket Cloud、GitHub 或 GitHub Enterprise Server 上的 Git 存储库。
有没有办法绕过这个限制,例如通过 REST API?
Is there any way around this limitation, e.g. through the REST API?
对于给您带来的不便,我们深表歉意。
恐怕目前没有解决此限制的方法。
如您所知,YAML 只支持 git 类型的存储库,MS 还没有扩展功能和 YAML 语法来支持 YAML for TFVC
或 SVN
存储库。
你也可以查看文档YAML schema reference:
此外,SVN
和TFVC
都是代码集中管理方式。目前YAML连TFVC
都不支持,所以要支持SVN应该还有很长的路要走。有很多用户对TFVS有需求:Make YAML support TFVC. You could also add your request for SVN on our UserVoice site (https://developercommunity.visualstudio.com/content/idea/post.html?space=21),这是我们主要的产品建议论坛。感谢您帮助我们构建更好的 Azure DevOps。
因为只有一种解决方法是将您的存储库从 SVN 迁移到 Git,但我不确定您是否可以进行迁移。您可以查看文档 Learn how to migrate from Subversion (SVN) to Git, including history 了解更多详情。
希望这对您有所帮助。
我们在 SVN 存储库中有几个代码库,我们想添加 CI/CD 以使用 Azure DevOps。理想情况下,我想使用基于 YAML 的管道而不是经典的可视化设计器;但根据 documentation,YAML 仅支持 Azure Repos、BitBucket Cloud、GitHub 或 GitHub Enterprise Server 上的 Git 存储库。
有没有办法绕过这个限制,例如通过 REST API?
Is there any way around this limitation, e.g. through the REST API?
对于给您带来的不便,我们深表歉意。
恐怕目前没有解决此限制的方法。
如您所知,YAML 只支持 git 类型的存储库,MS 还没有扩展功能和 YAML 语法来支持 YAML for TFVC
或 SVN
存储库。
你也可以查看文档YAML schema reference:
此外,SVN
和TFVC
都是代码集中管理方式。目前YAML连TFVC
都不支持,所以要支持SVN应该还有很长的路要走。有很多用户对TFVS有需求:Make YAML support TFVC. You could also add your request for SVN on our UserVoice site (https://developercommunity.visualstudio.com/content/idea/post.html?space=21),这是我们主要的产品建议论坛。感谢您帮助我们构建更好的 Azure DevOps。
因为只有一种解决方法是将您的存储库从 SVN 迁移到 Git,但我不确定您是否可以进行迁移。您可以查看文档 Learn how to migrate from Subversion (SVN) to Git, including history 了解更多详情。
希望这对您有所帮助。