Backup task/plugin for hudson not working - how do I fix it?

别来无恙 提交于 2019-12-08 08:28:22

问题


I installed the backup plugin for hudson and when a backup is requested it attempts to shutdown hudson. It seems to hang in that state.

What could be causing this?

It is running on Windows 7 as a service.

the real issue I want to solve though is how to back up my hudson configurations. (hudson, plugins, jobs)


回答1:


Have a look at Joshua's answer to a similar question. I like his robocopy approach. Right now I am implementing his approach as a Hudson job.

The job uses the filesystem-scm-plugin and copies the configuration every time the xml-files change. Since the harddrive is backed up anyway, I am only interested in a change history for the job configurations. If you do it this way, remember, to put the workspace for your backup job, outside usual Hudson directories, otherwise it will be triggered unnecessary.



来源:https://stackoverflow.com/questions/2079383/backup-task-plugin-for-hudson-not-working-how-do-i-fix-it

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