TeamCity 基础知识

发布于 2024-12-03 19:12:24 字数 339 浏览 0 评论 0原文

我正在尝试使用 TeamCity 为我的项目进行构建集成。我对此完全陌生。我了解我需要在服务器中安装 TeamCity,并且默认情况下它还会安装一个代理。到目前为止我已经完成了所有这些。我的本地计算机上有 MS TFS 作为版本控制软件...我的问题是如何让 TeamCity “出现”在我的 VS 项目中?我的意思是我是否必须在本地开发计算机上安装另一个 Team City Build 代理?是这样的吗?感谢您的任何评论和信息。基本上我要问的是.. 1) 我需要在开发本地计算机级别做什么,使其“连接”到安装在服务器上的 TeamCity 服务器或代理。 2)我是否需要在 TeamCity 所在的服务器上安装 Visual Studio 才能使插件正常工作?

I am trying out TeamCity for build integration for my project. I am completely new to this. I understand I need to install TeamCity in a server and by default it installs one agent also. I have all that completed until now. And I have MS TFS as Version controlling software on my local machine... and my question is how do I get TeamCity 'appear' in my VS projects? I mean do I have to install another Team City Build agent on my local development machine? is that how it works? thanks for any comments and info. Basically what I am asking is..
1) what do I need to do at the development local machine level that makes it 'connected' to TeamCity server or agents .. installed on the server.
2)Do I need to install Visual studio on the same server as TeamCity for the plugins to work?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

江城子 2024-12-10 19:12:24

我不完全确定问题到底是什么,但让我描述一下工作流程:

您在 buldserver 上安装了 teamcity 服务器,它也创建了一个代理。

您需要做的下一件事是设置 teamcity 项目并构建配置。让 TeamCity 检查 TFS(或任何源代码控制)的更改、签出并构建项目是相当简单的。

TFS 或 Visual Studio 不需要了解 TeamCity。

如果您想跟踪构建状态,可以在 Web 界面中检查或使用 TeamCity Tray Notifier(TeamCity Web 界面中提供下载链接)。

如果您需要更多构建代理,可以在 Web 界面中找到下载链接。

希望这有帮助。

I am not entirely sure what is exactly the question, but let me describe the workflow:

You installed the teamcity server on your buldserver, it created an agent as well.

The next thing you need to do is setup a teamcity project and build configuration. It is quite straitforward to make TeamCity check TFS (or any source control) for changes, check out and build a project.

TFS or Visual Studio does not need to know about TeamCity.

If you want to track the build status, you can check it in web interface or use TeamCity Tray Notifier (download link is available in TeamCity web interface).

If you need more build agents, the download link is available in web interface.

Hope this helps.

凶凌 2024-12-10 19:12:24

1) 我需要在开发本地计算机级别做什么,使其“连接”到安装在服务器上的 TeamCity 服务器或代理。

答案:您在开发本地计算机上不需要任何东西。您需要配置 TeamCity 以定期检查 TFS 存储库,或者在 TFS 中设置一个触发器,通知 TeamCity 正在签入新代码。2

) 我是否需要在与 TeamCity 相同的服务器上安装 Visual Studio 才能使插件正常工作?

答案:不,您不需要完整的 Visual Studio,但这可能是让一切正常运行的最简单的方法。您至少需要最新的 MS Build 工具(目前 Microsoft Build Tools 2015 来自 https://www.microsoft.com/en-us/download/details.aspx?id=48159)。您可能还需要各种 SDK(或其中的一部分) - 适用于 Windows 10 的 Windows 软件开发工具包 (SDK) (https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk),适用于 Windows 8 的 Windows 软件开发工具包 (SDK) (https://developer.microsoft.com/en-us/ windows/downloads/windows-8-sdk)。

1) What do I need to do at the development local machine level that makes it 'connected' to TeamCity server or agents .. installed on the server.

Answer: You don't need anything on the development local machine. You need to configure TeamCity to check your TFS repository on an interval or setup a trigger in TFS that will notify TeamCity of new code being checked in.

2) Do I need to install Visual studio on the same server as TeamCity for the plugins to work?

Answer: No, you don't need the full blown Visual Studio, but it might be the easiest thing to get everything working. You need at least the latest MS Build tools (at the moment Microsoft Build Tools 2015 from https://www.microsoft.com/en-us/download/details.aspx?id=48159). You might also need the various SDKs (or parts of them) - Windows Software Development Kit (SDK) for Windows 10 (https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk), Windows Software Development Kit (SDK) for Windows 8 (https://developer.microsoft.com/en-us/windows/downloads/windows-8-sdk).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文