This commit is contained in:
1
2026-01-27 09:25:36 +00:00
parent 450ba343e8
commit 64bc55b824

View File

@@ -62,16 +62,7 @@ steps:
-o ConnectTimeout=10 \
git@github.com
ssh_exit_code=$?
if [ $ssh_exit_code -eq 1 ]; then
echo "✅ SSH认证成功GitHub正常退出码1"
elif [ $ssh_exit_code -eq 255 ]; then
echo "❌ SSH认证失败退出码255通常是公钥未配置/权限不足)"
exit 1
else
echo "❌ SSH连接异常退出码$ssh_exit_code可能是网络超时/端口拦截"
exit 1
fi
# 拉取代码