报错内容:
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
解决方法:
在 jenkins/bin/catalina.sh中加入以下参数,并重启jenkins
JAVA_OPTS=”-Xms4096m -Xmx4096m -XX:MaxNewSize=512m -Dorg.jenkinsci.plugins.gitclient.Git.timeOut=6000”
./bin/catalina.sh stop
./bin/catalina.sh start