有时jenkins在运行Gradle脚本时会丢失这个错误:
12:48:19 > Could not resolve all dependencies for configuration ':classpath'. 12:48:19 > java.io.IOException: Input/output error
重build有帮助,但这并没有发生在旧的服务器上。
有什么build议么?
这是由几个试图获取一个文件locking的进程引起的。
通过select选项“强制GRADLE_USER_HOME使用工作区”进行修复。