本文介绍了在哪里配置Hudson节点磁盘/临时空间阈值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我当前在VM片上运行Hudson实例。由于我不需要从中运行多个小型应用程序,因此我将其占用的空间最小化。我为该片定义的大小对我来说似乎不错,但是哈德森似乎对最小磁盘和临时空间阈值有自己的想法。





然后我看一下节点,就会看到以下内容:


546MB的空间似乎不足,无法运行少量应用程序,但Hudson似乎不同意。我可以在任何地方配置Hudson来重新定义它认为对磁盘和临时空间来说太低了的吗?

解决方案

自Hudson 1.339起,它是可配置的。
参见此处



该属性称为
hudson.diagnosis.HudsonHomeDiskUsageChecker .freeSpaceTheshold


I am currently running a Hudson instance on a VM slice. As I don't have a need to run more than a couple small applications from it, I'm minimizing how much space I devote to it. The sizes I've defined for this slice seem fine to me, however Hudson seems to have it's own ideas on what are considered minimum disk and temp space thresholds.

And then I look at the Node and I see the following:

546MB does not seem like too little space for running my small number of applications, but Hudson seems to disagree. Is there any place I can configure Hudson to redefine what it considers too low for disk and temp space?

解决方案

Since Hudson 1.339 it is configurable.See here http://wiki.hudson-ci.org/display/HUDSON/Features+controlled+by+system+properties

The property is calledhudson.diagnosis.HudsonHomeDiskUsageChecker.freeSpaceTheshold

这篇关于在哪里配置Hudson节点磁盘/临时空间阈值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-21 22:44