如何清除我的Jenkins / Hudson构建历史记录? [英] How do I clear my Jenkins/Hudson build history?

查看:7412
本文介绍了如何清除我的Jenkins / Hudson构建历史记录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近更新了我的一个哈德森构建的配置。构建历史不同步。有没有办法清除我的构建历史?

I recently updated the configuration of one of my hudson builds. The build history is out of sync. Is there a way to clear my build history?

请感谢您

推荐答案

如果您单击管理Hudson /从磁盘重新加载配置,Hudson将重新加载所有构建历史数据。

If you click Manage Hudson / Reload Configuration From Disk, Hudson will reload all the build history data.

如果磁盘上的数据混乱,需要转到您的%HUDSON_HOME%\jobs\ 项目名目录,并按原样恢复构建目录。然后重新载入配置数据。

If the data on disk is messed up, you'll need to go to your %HUDSON_HOME%\jobs\<projectname> directory and restore the build directories as they're supposed to be. Then reload config data.

如果你只是问如何删除所有的构建历史,你可以通过UI删除构建一个接一个,如果只有一个很少,或者转到%HUDSON_HOME%\jobs\ 项目名称目录并删除所有子目录 - 它们对应于构建。
然后重新启动服务以使更改生效。

If you're simply asking how to remove all build history, you can just delete the builds one by one via the UI if there are just a few, or go to the %HUDSON_HOME%\jobs\<projectname> directory and delete all the subdirectories there -- they correspond to the builds. Afterwards restart the service for the changes to take effect.

这篇关于如何清除我的Jenkins / Hudson构建历史记录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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