TeamCity的版本控制(例如在TFS中)构建配置 - 是可能吗? [英] Version control (e.g. in TFS) build configuration for TeamCity - is it possible?

查看:187
本文介绍了TeamCity的版本控制(例如在TFS中)构建配置 - 是可能吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将我们的构建基础架构从CC.NET迁移到TeamCity。当然,TeamCity很漂亮的绿色。

I'm looking to migrate our build infrastructure from CC.NET to TeamCity. Admittedly pretty green with TeamCity at this point.

一个潜在的显示是,我们需要我们的构建配置与它构建的源代码一起进行版本控制。 CC.NET使得这很容易,是一个非常有用/强大的功能。

One potential show-stopper is that we need our build configuration to be version-controlled alongside the source code it builds. CC.NET makes this pretty easy and is a very useful/powerful feature.

从我的调查,你可以改变TeamCity存储其配置/数据,但没有官方文档(这里也没有其他主题)似乎引用它放在一个版本控制的位置,如TFS,Perforce或ClearCase。

From my investigation you can change where TeamCity stores its config/data, but none of the official documentation (nor other topics here on SO) seem to reference placing it in a version-controlled location such as TFS, Perforce or ClearCase.

这可能是因为TeamCity假设R / W访问任何配置文件和底层VCS使文件R / O需要签入/签出语义,这将混淆TeamCity并停止它的工作。

Could it be that if TeamCity assumes R/W access to any config files and the underlying VCS makes files R/O requiring check-in/check-out semantics that this'll confuse TeamCity and stop it working.

有人在这里有版本控制的经验TeamCost中的TeamCity构建配置?

Does anyone here have experience of version controlling TeamCity build configuration in Team Foundation Server (or similar)?

感谢,
Jack

Thanks, Jack

em> FYI - 一个版本如何控制配置TeamCity项目?似乎是SO上唯一类似的线程。
http://confluence.jetbrains.net/display/TCD7/How+To ...和相关的官方文档谈论迁移配置和/或备份它,这是接近但不是真的相同的事情。

FYI - How does one version control the configuration of a TeamCity project? seems to be the only similar thread here on SO. http://confluence.jetbrains.net/display/TCD7/How+To... and related official docs talk about migrating config and/or backing it up, which is close but not really the same thing.

推荐答案

这已在TeamCity 9中引入:

This has been introduced in TeamCity 9:

https://confluence.jetbrains.com/display/TCD9/Storing+Project+Settings+in+Version+Control

这篇关于TeamCity的版本控制(例如在TFS中)构建配置 - 是可能吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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