在Jenkins Checkout GitLab的專案下來時,一直遇到這樣的問題而沒辦法把專案載完
然後開始Jenkins進一步的動作,尤其每次快要載完時又出現這種Error,真的會讓人無言
Receiving objects: 68% (71394/104272), 234.75 MiB | 507.00 KiB/s
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1719)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1463)
做了很多次最後都無法成功,但自己下同樣的git指令又能正常checkout下來
如果遇到這種狀況時,就建議直接在jenkins的workspace直接checkout專案下來
因為Jenkins checkout下來的位置都會固定,所以譬如你的專案名叫 test-project
那就找到 C:\Users\Administrator\.jenkins\workspace\test-project ,在這做checkout的動作吧