是否有(自动)方法来备份 Hudson CI 文件?

在我的公司,我们有三台配置了 100 多个作业的 Hudson CI 服务器.我们正在寻找一种自动化方式来定期备份作业配置和构建历史记录.

Here at my company we have three Hudson CI servers with 100+ jobs configured. We are looking for an automated way to periodically backup job configurations and build history.

目前我们有一个 ant 脚本,我们将其配置为作业,但它不易维护且不优雅.

Currently we have an ant script that we configure as a job but it's not easy to maintain and not elegant.

你们有没有找到解决这个问题的方法?

Have any of you found a way to manage this?

推荐答案

有一个备份插件.

我不认为它支持定期备份计划,但您可以通过 URL 访问它来触发它(就像其他一些 Hudson 远程 API),在这种情况下,您可以简单地设置用于 ping URL 的 cron 作业.

I don't believe that it supports scheduling of periodic backups, but you might be able to trigger it by accessing it through the URL (like some other Hudson remote APIs), in which case you might be able to simply set up a cron job to ping the URL.

相关文章