2017-03-21 39 views
0

格里特總是表現出這樣的克隆命令:格里特網站不顯示命令

enter image description here

的格里特服務器我建立這樣的觀點:

enter image description here

是任何插件應該是安裝?我已經安裝了下載命令插件。

這是我的gerrit.config文件:

[gerrit] 
    basePath = git 
    serverId = 8f64957d-327a-4099-93ad-dc3f6fb598fa 
    canonicalWebUrl = http://192.168.1.188:8090 
[database] 
    type = h2 
    database = /Users/wxkmac/Documents/gerrit/db/ReviewDB 
[auth] 
    type = HTTP 
    #httpHeader = SM_USER 
[receive] 
    enableSignedPush = false 
[sendemail] 
    smtpServer = smtp.163.com 
    smtpServerPort = 465 
    smtpEncryption = ssl 
    smtpUser = [email protected] 
    smtpPass = xxxx 
    sslVerify = false 
    from=CodeReview<[email protected]> 
[container] 
    user = xxx 
    javaHome = /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/jre 
[sshd] 
    listenAddress = *:29418 
[httpd] 
    listenUrl = proxy-http://192.168.1.188:7788/ 
[cache] 
    directory = cache 
[download] 
    command = checkout 
    command = cherry_pick 
    command = pull 
    command = format_patch 
    scheme = ssh 
    scheme = http 
    scheme = anon_http 
    scheme = anon_git 
    scheme = repo_download 

回答

1

一些itens檢查:

1)確保donwloads的命令插件安裝並沒有問題

檢查插件>運行安裝

查看GERRIT-SITE /插件

重新啓動格里特和檢查GERRIT網站/日誌

2)確保你已經設置在GERRIT網站/等下載選項/ gerrit.config

[download] 
    scheme = https 

3)我想,你的情況,你應該設置sshd.advertisedAddress選項

查看更多信息here

+0

是的,我已經在我安裝'download-commands'plugin後設置了這個。 – zippo

+0

我用更多信息更新了答案。 –