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

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

问题描述

我最近更新了我的 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?

请和谢谢

推荐答案

如果您单击 Manage Hudson/Reload Configuration From Disk,Hudson 将重新加载所有构建历史数据.

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

如果磁盘上的数据搞砸了,您需要转到您的 %HUDSON_HOME%jobs<projectname> 目录并恢复构建目录,因为它们应该是.然后重新加载配置数据.

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%jobsprojectname> 目录并删除那里的所有子目录——它们对应于构建.然后重新启动服务以使更改生效.

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天全站免登陆