问题
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