如上图出现报错,解决1办法如下:
1.在对应项目下点击配置---在构建触发器-勾选Delete workspace before build starts(意思在构建前清除当前工作空间,释放内存)
2.解决方法2:在源码管理-Additional Behaviours-选择Advanced clone behaviours-新增-勾选Fetch tags-勾选Shallow clone-Shallow clone depth(设置为:1)-Timeout (in minutes) for clone and fetch operations(设置为:15分钟)
3.在设置完后继续点击构建项目,则成功构建!
4.如果在后续编译过程中继续出现一样的报错:就把Timeout (in minutes) for clone and fetch operations(设置为时间稍长)就能打包成功!