Everything Web

Hudson CI, SVN error

August 6, 2010dgrinberg

I was setting up a brand new Hudson CI server for a new project but every time it tried to retrieve the code out of the SVN repository I kept getting the error

Unable to find repository location for 'svn://xxx/proj/trunk' in revision '28'

The thing that kept throwing me was... that it was correct, the folder didn't exist at revision!! I didn't standardise the folder structure until revision 29. However, all I wanted was the HEAD.

After trying many different things and getting extremely frustrated, I decided to fix my other little pet hate on the server - the date was wrong. I updated the date, and for some reason tried to build my project. Low and behold, the SVN check out finally worked.

Our CI server is built on a Linux VM, and the date was not updating automatically. The server was about 3 months behind.

So if your haveing trouble with Hudson talking to an SVN server, check your date!!

Trackback URL for this post:

http://ontheperiphery.veraida.com/trackback/52