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?
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?
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.