Flex 的持续集成服务器
您为 Flex 使用哪种 CI 服务器?目前我的主要竞争者是
- Hudson
- TeamCity
两者似乎在一般水平上都很受欢迎,但是您是否有使用其中之一或两者进行 Flex 开发的直接经验?或者您会推荐其他工具吗?
Which CI server do you use for Flex? My main contenders are currently
- Hudson
- TeamCity
Both seem to be popular on the general level but have you got some direct experience with using one or both with Flex development? Or would you recommend some other tool?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我们将 Hudson 与 SVN 结合使用,效果非常好。 Java 代码和 Flex 代码都是使用 Maven 和 Flex Mojos 插件构建的。该构建还运行 Flex 代码的单元测试,并将结果集成到构建报告中。 Flex Mojos 插件使这一切变得非常简单。
We use Hudson in combination with SVN and it works quite well. Both the Java code and the Flex code is built using Maven and the Flex Mojos plugin. The build also runs the unit tests for the Flex code and it integrates the results in the build reports. The Flex Mojos plugin makes this really easy.
我们使用哈德森。
我们正在开发 Java/Flex 应用程序。
Ant 是构建系统。 SVN 源管理器。
我们有一个用于编译 mxml 和 actionScript 的 ant 任务。
Hudson 位于虚拟机上,SVN 位于另一台虚拟机上,构建版本存档/部署在第三台虚拟机上。
Hudson 在适当的时候调用 ant 任务。 (每次提交 Flex 代码后)
不会调用 Flex 的单元测试。对于java来说是的。但是您也可以通过 ant 脚本调用 FlexUnit (或 FlexMonkey )。
运行测试后,将构建部署到另一个虚拟机上。
跑起来毫无痛苦。您只需要有一个工作蚂蚁任务来编译应用程序的弹性部分。
如果你使用maven,hudson 也会处理它。他还可以运行 .bat 或 .sh 脚本并检查输出。
关于你在teamcity/hudson之间的选择,我认为他们两个非常接近。
We use Hudson.
We are working on a Java/Flex application.
Ant is the build system. SVN the source manager.
We have a ant task for compiling the mxml and the actionScript.
Hudson is on a virtual machine, SVN on another, and the build are archived / deployed on a third.
Hudson call the ant task on due time. ( After each commit on the flex code )
No Unit test are call for flex. For java yes. But you can call FlexUnit ( or FlexMonkey ) throught a ant script as well.
After running the test, the build is deployed on another VM.
It's run with no pain. You just have to have a working ant task for compilling the flex part of your application.
If your using maven, hudson handle it too. He can also play .bat or .sh script and check the output.
About your choice between teamcity / hudson, i think the two of them are very close.