问题背景,打包每次到92%时就会报错,试了好几次都是同样的错误
14:56:53 fatal: index-pack failed
14:56:53
14:56:53 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2734)
14:56:53 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:2111)
14:56:53 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:87)
14:56:53 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:623)
14:56:53 at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:1000)
看着报错像是和git有关的,怀疑是拉取代码超时,修改配置:
把时间改长后,打包成功