TeamCity - 如何创建安装程序包?
我对 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
有一些适用于 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.
您可能需要使用自己手写的构建脚本来完成此操作。
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