版本控制 Hudson 设置的最佳实践 [英] Best practices for versioning Hudson settings

查看:26
本文介绍了版本控制 Hudson 设置的最佳实践的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们经常在项目中使用 Hudson 持续集成服务器.但 Hudson 似乎缺乏对作业配置的正确版本控制.

We're using Hudson continuous integration server frequently on projects. But Hudson seems lacking of proper versioning of the jobs configuration.

有几次,这会导致问题:有人更改或调整作业的配置,而以前可以工作的东西停止工作.

A few times, this has lead to problems: Somebody changes or tweaks the configuration on jobs and something that used to work stopped working.

我尝试在本地 Hudson 服务器(在我的笔记本电脑上)上对作业进行版本控制.但这不是最优的:1)它只适合我.2)我需要从中央构建服务器镜像作业——并且可能还需要修改它们以在本地工作.3) 设置 .gitignores 来忽略文件非常麻烦.

I have tried to version-control jobs on my local Hudson server (on my laptop). But this is not optimal: 1) it's only for me. 2) i need to mirror jobs from a central build server – and may also need to modify them to work locally. 3) It's pretty cumbersome to setup .gitignores for files to ignore.

据我所知,Hudson 没有办法查看工作的更改历史记录,也没有插件可以做到这一点.

As far as I know, there is no way in Hudson to view change history of jobs, and no plugin does it either.

此外,似乎无法导出/导入设置.

Also, there seems to be no way to export/import settings.

所以问题是:您如何跟踪更改?哈德逊的工作和一般设置?

So the question is: How do you keep track of changes? Both in jobs and in general setup of Hudson?

推荐答案

参见 我应该将 HUDSON_HOME 的哪个部分置于源代码控制之下?

Audit Trail 插件可能对您有用如果有人破坏了配置,而您在追踪它时遇到了麻烦.

The Audit Trail plugin might be useful to you too if people are breaking configurations and you're having trouble tracking it down.

这篇关于版本控制 Hudson 设置的最佳实践的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆