Sometimes Jenkins while running Gradle scripts drops this error:

12:48:19 > Could not resolve all dependencies for configuration ':classpath'.
12:48:19    > java.io.IOException: Input/output error

Rebuild helps, but this didn't happen on old server.

Any suggestions?


This was caused by several processes which tried to acquire lock of one file.
Fixed by selecting option "Force GRADLE_USER_HOME to use workspace".

  • How exactly to "Force GRADLE_USER_HOME to use workspace"? – Todor Kolev Nov 8 '18 at 7:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.