關於Gerrit的郵件設置問題

由於想搭建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 = [email protected]
	smtpPass = xxxx
	sslVerify = false
	from=CodeReview<[email protected]>
[container]
	user = xxx
	javaHome = /usr/lib/jvm/java-6-openjdk-amd64/jre
[sshd]
	listenAddress = *:29418
[httpd]
	listenUrl = proxy-http://*:8090/
[cache]
	directory = cache

from這裏是發件人的顯示


哎 真的是很奇葩,這個要多試試才行

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章