使用git作为源代码控制的自定义构建流程模板文件。 [英] Custom build process template files with git as source control.

查看:71
本文介绍了使用git作为源代码控制的自定义构建流程模板文件。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿!

我正在尝试将旧的tfvc项目迁移到git项目中。将历史记录中的所有代码移动到git很容易,我已经完成了开发设置。

I'm trying to migrate an old tfvc project into a git project. Moving all the code with the history to git was easy enough and I allready got the development setups working.

我遇到的问题是我们有很多自定义xaml构建过程模板我想要迁移到git进程的文件。当我尝试保存构建定义时,它给出了错误:

The problem I'm having is that we have a lot of custom xaml build process template files that I would want to migrate over to the git process. When I try to save a build definition it's giving me the error:

TF401203:您不能将存储在Git存储库中的自定义模板用于MyBuild。要使用存储在Git存储库中的自定义模板,必须首先将构建控制器SD-build1及其构建代理升级到Team Foundation Server 2013或更高版本。

TF401203: You cannot use a custom template stored in a Git repository for MyBuild. To use a custom template stored in a Git repository, you must first upgrade the build controller SD-build1 and it's build agents to Team Foundation Server 2013 or newer.

什么是我最好的方法从这里?是否可以将构建过程模板文件保留在TFVC项目中并从那里使用它们或者是更新构建控制器的唯一解决方案?此外,如果我必须更新构建控制器,如何
破坏一个进程呢?我正在与TFVC开发并行这样做,所以如果升级控制器例如打破TFVC集成或任何构建它就不可能。

What would be my best approach from here? Would it be possible to keep the buildprocess template files in the TFVC project and use them from there or is the only solution to update the build controllers? Also if I have to update the build controllers how destructive of a process is it? I'm doing this side by side with the TFVC development so if upgrading the controller for example breaks the TFVC integration or any of the builds it's just not a possibility.

推荐答案

嗨LeetLizard,

Hi LeetLizard,

感谢您发布此处。

您能否澄清更多细节您的问题?

  1.您的构建服务器版本,TFS 2012或更低版本是什么?

  2.您是否尝试保存构建定义使用不使用自定义构建过程模板的默认模板?它是否成功?

Thank you for posting here.
Could you clarify more details for your problem?
 1.What’s the version of your build server, TFS 2012 or lower version?
 2.Have you try to save a build definition using a default template not using a custom build process template? Could it be successful?

由于自TFS 2013以来支持Git版本控制,因此无法使用构建代理程序较低版本的TFS2013构建Git模板。因此,您最好升级构建控制器及其构建代理。

最好的问候,

As Git version control is supported since TFS 2013, you couldn’t build a Git template with the build agent lower version of TFS2013. So you’d better upgrade the build controller and it's build agents.
Best Regards,


这篇关于使用git作为源代码控制的自定义构建流程模板文件。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆