[2/4] Fetching packages...
error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads git://github.com/adobe-webplatform/eve.git
Directory: /var/lib/jenkins/workspace/Stonex/Stonex-Mdm-Ui
Output:
fatal: unable to connect to github.com:
github.com[0: 140.82.114.4]: errno=Connection timed out
一看协议居然是git://xxx 貌似github早就不用这种格式了, 而是使用的[email protected]:xxx 这种或者https协议,解决方法:
执行下下面的命令:
git config --global url."https://github.com/".insteadOf git://github.com/
如果使用的是 pipline 添加一个配置上去。


