Why up-to-date files committed to SVN will not be immediately pulled out by Hudson to build

≯℡__Kan透↙ 提交于 2019-12-05 10:50:10

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.

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.

We have the same problem when we use svn update. It happens with hudson and also for developers using the eclipse ide. Our workaround is to delete the local project and checkout the whole project again. Just make sure not to use the "use update" option in Hudson.

The clock should not be a problem, since Hudson and subversion (actually visualsvn) run on the same server.

Adjusting the clock on the hudson server solved the problem. An if you do this, make sure that you switch off the windows time service. In my case the hudson server was around an hour behind the svn server.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!