Jenkins is a good tool to get error: RPC failed when compiling a Unity project automatically; curl 18 transfer closed with outstanding read data remaining
1. Gitlab warehouse has large files
When we pull gitLab storehouse manually, timeout error will also occur, mostly in the use of HTTP protocol to pull Git storehouse, we can use the configuration command to solve the problem.
git config --global http.postBuffer 524288000
Copy the code
2. The problem of Git pulling in Jenkins was solved
- The above configuration is invalid
- Try the Advanced git configuration in Jenkins, with a timeout input, units of minutes, and shallow cloning options,
Tested, invalid.
3. Look around the city
Jenkins uses J-git, which has a limited ability to download packages.