Tuesday, April 12, 2011

Hudson and Ant

The following error was blocking all my Hudson builds

UNC paths are not supported.  Defaulting to Windows directory.

This was occurring after checkout, just as it starts to try and build

The problem was that I was building on a network drive, and this was causing problems. Solution is

1/ to map network drive to a lettered drive

2/ Set Hudson_Home to point to new directory. (export CATALINA_OPTS="-DHUDSON_HOME=/path/to/hudson_home/ -Xmx512m")

3/ Restart

  
At revision 11699
no change for https://svnServer/svn/AdminToolsWeb since the previous build
[workspace] $ cmd /c call "F:\My Documents\apps\apache-tomcat-7.0.4\temp\hudson6361.bat"
'\\c\USERS_HOME\khyland\.hudson\jobs\WAT\workspace'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported.  Defaulting to Windows directory.
  
C:\WINDOWS>f:\\apps\\ant.bat clean package 
Buildfile: build.xml does not exist!
Build failed
Finished: FAILURE 

No comments: