Best practices for versioning Hudson settings

ε祈祈猫儿з 提交于 2019-12-03 14:15:19

问题


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.

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.

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?


回答1:


See Which part of HUDSON_HOME should I put under source control?

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




回答2:


Here is another option that I just found: JobConfigHistory



来源:https://stackoverflow.com/questions/1906546/best-practices-for-versioning-hudson-settings

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!