简体   繁体   English

将构建定义从TFS迁移到VSTS

[英]Migrating a build definition from TFS to VSTS

I've been tasked with migrating a build from TFS to VSTS, I've used TFS from a developer point of view, however I've never created builds. 我的任务是将构建从TFS迁移到VSTS,我从开发人员的角度使用TFS,但是我从未创建构建。 Can anyone give me any advice where to start, good websites, tutorials, tools that might help, anything that might catch me out etc, basically my knowledge on this is very limited so anything would help. 任何人都可以给我任何建议从哪里开始,好的网站,教程,可能有用的工具,任何可能让我感到困扰的东西等,基本上我对此的了解非常有限,所以任何事情都会有所帮助。 I've no doubt there must be somebody out there who can say we've done this, here is what we did...the new VSTS build will need to be a copy of the TFS build however some analysis needs to be done as the build process is old and certain parts may not be necessary. 我毫不怀疑必须有人可以说我们已经完成了这个,这就是我们所做的......新的VSTS构建需要是TFS构建的副本,但是需要进行一些分析。构建过程很旧,某些部分可能不是必需的。 Thanks in advance! 提前致谢!

Migrate New Vnext build definition from TFS to VSTS 将新Vnext构建定义从TFS迁移到VSTS

If you want to template your builds or move them from TFS to VSTS, you could also use the REST API's to perform this. 如果要模拟构建或将它们从TFS移动到VSTS,您还可以使用REST API来执行此操作。 Details please refer this blog: HOW TO MOVE BUILD DEFINITIONS IN TFS TO OTHER PROJECTS USING THE REST API 详情请参阅此博客: 如何使用REST API将TFS中的构建定义转移到其他项目

Another example shown here . 这里显示的另一个例子 It shows how to get the JSON response of a build definition and again using the same reference to make a new one in the project you desire. 它显示了如何获取构建定义的JSON响应,并再次使用相同的引用在您想要的项目中创建一个新的响应。


Migrate Old XAML to New Vnext build definition from TFS to VSTS 将旧XAML迁移到从VFS到VSTS的新Vnext构建定义

Unfortunately, there will not be any automated conversion processes . 不幸的是,不会有任何自动转换过程 The new builds are based on a different architecture and run on a completely different system. 新版本基于不同的架构,并在完全不同的系统上运行。 And you can use both the new builds and agents alongside your XAML builds, controllers, and agents. 您可以将新版本和代理与XAML构建,控制器和代理一起使用。

If you have heavily customized XAML builds and custom activities, you can continue using those builds until you are ready to port your business logic into scripts that can run in the new builds. 如果您有大量自定义的XAML构建和自定义活动,则可以继续使用这些构建,直到准备好将业务逻辑移植到可在新构建中运行的脚本中。

You should also take a look at these series of articles by jessehouwing devoted specifically to the case like yours. 您还应该看看jessehouwing专门针对像您这样的案例的这一系列文章


About how to create a build , you could refer this tutorial from MSDN. 关于如何创建构建 ,您可以从MSDN参考本教程

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

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