问题描述
我有时发现我们的Hudson不会从SVN中提取最新版本的文件来构建软件包.例如,当前的最新修订版是1201,但是Hudson使用1200进行构建.
I sometimes found our Hudson will not pull up-to-date versions of files from SVN to build up the package. For example, current latest revision is 1201, but Hudson use 1200 to build.
您知道幕后的原因吗?
Do you know the reason behind the scenes?
推荐答案
当Hudson与Subversion服务器之间存在时钟偏斜时,这是一个常见问题.我建议查看您最近提交的时间戳,以查看Subversion服务器是否给出了将来的时间.或者,Hudson服务器的时钟可能已落后.
This is a common problem when there is clock skew between Hudson and the Subversion server. I'd suggest looking at the timestamps of your recent commits, to see if the subversion server is giving future times. Or, potentially the Hudson server's clock has falled behind.
此处是Hudson邮件列表涉及类似的问题,而 HUDSON-1244 就是Hudson问题,介绍了对该问题的一些检测.
Here is one thread from the Hudson mailing list about a similar issue, and HUDSON-1244 is the Hudson issue that introduced some detection of the problem.
这篇关于为什么提交给SVN的最新文件将不会被Hudson立即拔出以进行构建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!