Jenkins 拉取gitee 代码 提示 无法解析主机 。记录
sample.git/': Could not resolve host: gitee.com
ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: Command "git fetch --tags --force --progress -- +refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout:
sample.git/': Could not resolve host: gitee.com
解决办法:
安装以下Jenkins插件以连接GitHub和Gitee:
- GitHub Integration Plugin
- Gitee Integration Plugin
- Pipeline Plugin
系统管理--->插件管理--->available plugins