Hi, 

I've installed Gitlab and Gitlab-ci and i never receive the mail 
notification from gitlab-ci. 

Notifications from gitlab work fine.

I have read the log and i don't know what to check to find the problem.

Please, give me some advice.

Here is my config in /etc/gitlab/gitlab.rb

# Use your own GitLab URL here
external_url 'http://git.2le.net'
ci_external_url 'http://ci.2le.net'

# We assume your repositories are in /home/git/repositories (default for 
source installs)
git_data_dir '/home/git'

# Re-use the Postgres that is already running on your system
postgresql['enable'] = false
# This db_host setting is for Debian Postgres packages
gitlab_rails['db_host'] = '/var/run/postgresql/'
gitlab_rails['db_port'] = 5432
# We assume you called the GitLab DB user 'git'
gitlab_rails['db_username'] = 'git'
gitlab_ci['db_username'] = 'git'
gitlab_ci['db_host'] = '/var/run/postgresql/'
gitlab_ci['db_port'] = 5432
gitlab_ci['gitlab_ci_email_from'] = 'gi...@2le.net'
gitlab_ci['smtp_enable'] = true
gitlab_ci['smtp_address'] = "127.0.0.1"
#
gitlab_ci['gitlab_server'] = { 'url' => 'http://git.2le.net', 'app_id' => 
"00271cghj5804a754aa60ba3429e6cb500f0422e5d1aaa45d45c1b6d7f52c4", 
'app_secret' => 'f5127a6aadb59ab1f377ba031c01dd93a31fce65c3b4de73e26'}
unicorn['worker_timeout'] = 120


When a build fail i have this in 
my /var/log/gitlab/gitlab-ci/production.log file : 


Started POST "/projects/1/build?token=5d24eb1245f855c18c66c0593a782e" for 
37.187.176.175 at 2015-09-16 13:44:13 +0200
Processing by ProjectsController#build as HTML
  Parameters: {"object_kind"=>"push", 
"before"=>"a41ee97e86d98c3aec7c0f6e5da48770d6b4158d", 
"after"=>"e3b954d916c9615ba4e976a4ab41ec88775b33f2", 
"ref"=>"refs/heads/master", 
"checkout_sha"=>"e3b954d916c9615ba4e976a4ab41ec88775b33f2", "user_id"=>1, 
"user_name"=>"Sébastien HEITZMANN", "user_email"=>"2...@2le.net", 
"project_id"=>38, "repository"=>{"name"=>"ADEMAS", 
"url"=>"g...@git.2le.net:2le/ademas.git", "description"=>"", 
"homepage"=>"http://git.2le.net/2le/ademas";, 
"git_http_url"=>"http://git.2le.net/2le/ademas.git";, 
"git_ssh_url"=>"g...@git.2le.net:2le/ademas.git", "visibility_level"=>0}, 
"commits"=>[{"id"=>"e3b954d916c9615ba4e976a4ab41ec88775b33f2", 
"message"=>"ajout bower\n", "timestamp"=>"2015-09-16T13:43:40+02:00", 
"url"=>"http://git.2le.net/2le/ademas/commit/e3b954d916c9615ba4e976a4ab41ec88775b33f2";,
 
"author"=>{"name"=>"Sébastien HEITZMANN", "email"=>"2...@2le.net"}}], 
"total_commits_count"=>1, "token"=>"5d24eb1245f855c18c66c0593a782e", 
"id"=>"1", "project"=>{}}
Completed 201 Created in 29ms (ActiveRecord: 4.3ms)


But noting in /var/log/mail.info



-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/3cef2391-fc3d-4ecf-9539-b291a74af254%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to