On 03/12/2010, at 11:46 AM, [email protected] wrote: > > When building under hudson, about 30% of the time when the project has been > triggered by an upstream project, I get an error during the clean task. The > error is below. When I execute the build script manually via hudson, the > clean task works as it should and the build works as expected. > > Thoughts on what to look for. > > The build environment is: > hudson latest > gradle .9-rc3 > java 1.6 > windows 7 > tomcat 7.x > > I see the IOException, but I'm not sure why it is being generated. Hudson > controls that directory, no other process are accessing it (at least from > what I can tell) so I don't know why it can't delete the directory.
Can you run the build with the -s option, so we can get a stack trace for this exception? > > Here is the log file: > > Started by upstream project "framework-client" build number 14 > Started by upstream project "framework-tenant" build number 13 > Updating > http://svn.itsolut.com/svn/http:/svn.itsolut.com/svn/its/branches/next_gen/app-cart > At revision 5347 > no change for > http://svn.itsolut.com/svn/http:/svn.itsolut.com/svn/its/branches/next_gen/app-cart > since the previous build > [app-cart] $ cmd.exe /C gradle.bat clean uploadArchives && exit > %%ERRORLEVEL%% > > > :clean > > FAILURE: Build failed with an exception. > > * Where: > Build file 'C:\Users\Chris > Hane\.hudson\jobs\app-cart\workspace\app-cart\build.gradle' > > * What went wrong: > Execution failed for task ':clean'. > Cause: java.io.IOException: Unable to delete directory C:\Users\Chris > Hane\.hudson\jobs\app-cart\workspace\app-cart\build\gradle\app-cart\classes\com\itsolut\shop\client\checkout\controller\existinguser\changers\shiptoaddr\display\impl. > > * Try: > Run with -s or -d option to get more details. Run with -S option to get the > full (very verbose) stacktrace. > > BUILD FAILED > > Total time: 5.834 secs > Finished: FAILURE > > -- > View this message in context: > http://gradle.1045684.n5.nabble.com/Clean-under-hudson-fails-30-of-the-time-tp3290283p3290283.html > Sent from the gradle-user mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > -- Adam Murdoch Gradle Developer http://www.gradle.org CTO, Gradle Inc. - Gradle Training, Support, Consulting http://www.gradle.biz
