可以执行的所有自动化构建任务有哪些?

发布于 2024-08-12 10:57:30 字数 1436 浏览 4 评论 0原文

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

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

发布评论

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

评论(4

メ斷腸人バ 2024-08-19 10:57:30

对此的简单回答是,基本上可以编写脚本的任何内容。

例如,如果您使用的是 CruiseControl,那么您可以通过 ant 脚本执行的任何操作都可以自动化;这包括调用其他脚本(也不一定是 ant 脚本)。

话虽这么说,您的初始列表中已涵盖了大部分基础。除此之外,我还要添加

  • 文档生成
  • 存储库维护和备份操作
  • 自动更新公司网站,例如每当有新版本的软件、文档更新等时
  • 报告,例如汇总和总结每个项目/产品的错误跟踪器问题和活动

HTH

The simple answer to this, is basically anything that a script can be written for.

For example if you are using CruiseControl, anything that you can do from an ant script can be automated; and that includes calling other (not necessarily ant scripts as well).

That being said, you've got most bases covered in your initial list. To that I would add

  • Generation of documentation
  • Repository maintencnace and backup operations
  • Auto-update company website, e.g. whenever there's a new release of software, documentation is updated, etc
  • Reports, e.g. aggregate and summarise bug tracker issues and activity per project/ product

HTH

笑,眼淚并存 2024-08-19 10:57:30
  • 构建文档
  • 构建安装程序
  • 创建网站
  • 初始化虚拟映像
  • 设置数据库
  • Building documentation
  • Building installers
  • Creating web sites
  • Initialising virtual images
  • Setting up databases
望她远 2024-08-19 10:57:30

报告?
您可能想要报告您在上述任务中发现的情况。您还可以执行诸如重复报告之类的操作,或者如果运行 findbugs 之类的操作,您可以报告发现的问题(例如 http://findbugs.sourceforge.net/bugDescriptions.html

您还可以在构建中生成产品的可发布包。

Reporting?
You may want to report the things you find during those tasks you outlined above. You could also do things such as duplication reporting, or if you run something like findbugs you could report on issues found (e.g. http://findbugs.sourceforge.net/bugDescriptions.html)

You could also generate a releasable package of the product in the build.

聆听风音 2024-08-19 10:57:30

这一切都与自动化有关。如果你能找到需要完成的事情,那么就将其自动化。例如,您可以进行大量的代码分析或测试。最终,它可以轻松地重复事情。找到你需要做什么来提高质量并自动化这些(我强烈支持更多的测试更好)。

It all about automation. If you can find something that needs to be done, then automate it. For example you can do tonnes of code analysis, or testing. Ultiamtely it comes down to repeating things easily. Find what you need to do to improve quality and automate those(And I strongly fally down on the side of more testing is better).

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