diff options
author | Stan Hu <stanhu@gmail.com> | 2015-12-22 23:15:06 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2016-01-07 21:45:39 +0300 |
commit | 69209612e1793fcebcdb784074056d7a02b0f6f7 (patch) | |
tree | 2d9f791ec7f5e4a20f5f475a6151ee606d154812 /lib | |
parent | 3c93e588e9a829bb805aab9ccafb94383f44ed57 (diff) |
Suppress e-mails on failed builds if allow_failure is set
Every time I push to GitLab, I get > 2 emails saying a spec failed when
I don't care about benchmarks and other specs that have `allow_failure` set to `true`.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/build_data_builder.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/build_data_builder.rb b/lib/gitlab/build_data_builder.rb index 86bfa0a4378..34e949130da 100644 --- a/lib/gitlab/build_data_builder.rb +++ b/lib/gitlab/build_data_builder.rb @@ -23,6 +23,7 @@ module Gitlab build_started_at: build.started_at, build_finished_at: build.finished_at, build_duration: build.duration, + build_allow_failure: build.allow_failure, # TODO: do we still need it? project_id: project.id, |