Jenkins + GitLab Http method cannot pull down the code

Because the company used jenkins + code cloud username and password to deploy before.

The new company environment uses jenkins + GitLab to deploy in the same way as before. The code cannot be pulled down from life and death, and the error of ******* timeout=10S ******* has been reported. The donkey heads found by various Baidus are not right. Reading this guy’s article https://www.jianshu.com/p/70980563e908, he didn’t use http. He changed to ssh and it succeeded. At the beginning, I felt that it was just the authentication method. The difference should not be big. I was lucky. I tried it and it was OK. . .

The key is that the git in my IDEA uses HTTP format, the big guys know why, leave a comment

Guess you like

Origin blog.csdn.net/zhaojunjie_cc/article/details/101701173