TeamCity - 如何创建安装程序包?

发布于 2024-07-16 15:15:48 字数 435 浏览 3 评论 0原文

我对 TeamCity 还很陌生,但在 CC.NET-t 方面有 2-3 年的经验。 我熟悉 MSBuild,但也许 TeamCity 有其他构建东西的方法。

我发现 TeamCity 拥有漂亮的 UI 和出色的插件框架。 但我不知道如何配置安装程序包构建。

我的问题:

  • 我已经检查了源代码并构建了工件(一些 dll 和 exe)。 没有问题,但是
  • 如何“以 TeamCity 方式”创建 zip 包? (项目/工件依赖性?)
  • 如何“以 TeamCity 方式”创建 NSIS 安装程序?

我可以下载插件或教程吗? 或者我除了 MSBuild 没有其他选择?

I'm pretty new with TeamCity but have 2-3 years experience with CC.NET-t. I'm familiar with MSBuild but maybe TeamCity has other ways to build things.

I see that TeamCity has a nice UI and great plug-in framework. But I have no idea how can I configure an installer package build.

My questions:

  • I've checked out the source and built the artifacts (some dll and exe). There is no problem, but
  • how can I create a zip package "on TeamCity way"? (Project/artifact dependency?)
  • how can I create a NSIS installer "on TeamCity way"?

Can I download plugins or tutorials? Or I have no other choice just MSBuild?

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

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

发布评论

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

评论(2

笑红尘 2024-07-23 15:15:48

有一些适用于 TeamCity 的构建运行器插件,您可以滚动您自己的,但我相信“TeamCity 方式”是在您的构建脚本中执行此操作...因为它是构建服务器,对吧?

您可能想查看 MSBuild 扩展包,它有很多值得拥有的东西像压缩注册表访问等等......这肯定会对那些zip和nsis任务有所帮助。

There are some build runner plugins for TeamCity and you can roll your own but I believe the "TeamCity way" is to do that in your build script... since it's a build server right?

And you might want to check out the MSBuild Extension Pack which has a lot of nice-to-haves stuffs like zipping and registry access and whatnot... which will definitely help with those zip and nsis task.

空城仅有旧梦在 2024-07-23 15:15:48

您可能需要使用自己手写的构建脚本来完成此操作。

MsBuild 或 NAnt 可能会为您提供最佳选择。

如果您使用 MsBuild,您可能想查看 Msbuild 社区任务。

希望这可以帮助

You probably will need to do this using your own handwritten build scripts.

MsBuild or NAnt will probably offer the best options for you.

If you use MsBuild you probably want to look at Msbuild community tasks.

Hope this helps

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