关于Gerrit的邮件设置问题
由于想搭建CI系统 gitlab+gerrit+jenkins因此参考了http://longgeek.com/2013/12/26/ci-system-structures-iii-gerrit-installation-configuration/ 这篇文章是 Nginx的,然后我就各种收不到验证邮件了下面是能用的配置[gerrit]basePath = gitca
·
由于想搭建CI系统 gitlab+gerrit+jenkins
因此参考了http://longgeek.com/2013/12/26/ci-system-structures-iii-gerrit-installation-configuration/ 这篇文章
是 Nginx的,
然后我就各种收不到验证邮件了
下面是能用的配置
[gerrit]
basePath = git
canonicalWebUrl = http://127.0.0.1:8090/
[database]
type = mysql
hostname = localhost
database = gerritdb
username = gerrituser
[auth]
type = HTTP
[sendemail]
smtpServer = smtp.163.com
smtpServerPort = 465
smtpEncryption = ssl
smtpUser = xxx@163.com
smtpPass = xxxx
sslVerify = false
from=CodeReview<xxx@163.com>
[container]
user = xxx
javaHome = /usr/lib/jvm/java-6-openjdk-amd64/jre
[sshd]
listenAddress = *:29418
[httpd]
listenUrl = proxy-http://*:8090/
[cache]
directory = cache
from这里是发件人的显示
哎 真的是很奇葩,这个要多试试才行
更多推荐
已为社区贡献1条内容
所有评论(0)