download-commands插件配置
[download]
scheme = ssh
scheme = http #认证http下载
scheme = anon_http #匿名http下载
scheme = anon_git
scheme = repo_download
If download.scheme is not specified, SSH, HTTP and Anonymous HTTP downloads are allowed.
- gerrit配置认证方式为HTTP时,认证过程由代理服务器完成,如果没有设置HTTP Password 的话,那么就无法通过HTTP的url来clone和push代码。