哈德逊公司的备份任务/插件无法正常工作-如何解决? [英] Backup task/plugin for hudson not working - how do I fix it?

查看:55
本文介绍了哈德逊公司的备份任务/插件无法正常工作-如何解决?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为hudson安装了备份插件,当请求备份时,它将尝试关闭hudson.似乎处于这种状态.

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?

它作为服务在Windows 7上运行.

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)

推荐答案

看看

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.

该作业使用 filesystem-scm-plugin 并在xml文件每次更改时复制配置.由于仍要备份硬盘,因此我只对作业配置的更改历史感兴趣.如果这样做,请记住,将备份作业的工作空间放置在通常的Hudson目录之外,否则将不必要地触发它.

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.

这篇关于哈德逊公司的备份任务/插件无法正常工作-如何解决?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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