Falls jemand Probleme hat, auch wenn die HTTP-Proxy-Einstellung hinzugefügt wurde,
GnuTLS recv error (-110): Die TLS-Verbindung wurde nicht ordnungsgemäß beendet.
Zusätzlich zur ursprünglichen Lösung fügen Sie die postBuffer-Eigenschaften unterhalb einer Vorlage hinzu, um mein Problem zu lösen. gnutls-bin muss installiert werden
hooks:
before_code:
- exec:
cmd:
- apt-get update -y
- apt-get install -y gnutls-bin
- git config --global http.proxy socks5://172.17.0.1:1080
- git config --global https.proxy socks5://172.17.0.1:1080
- git config --global https.sslVerify false
- git config --global http.postBuffer 1048576000
# optional
after_code:
- exec:
cmd:
- git config --global --unset http.proxy
- git config --global --unset https.proxy
- git config --global --unset https.sslVerify
- git config --global --unset http.postBuffer