Do not send email about broken ci build if `allow_failure` is set to true
I have a CI spec with allow_failure: true
:
spec_rails5:
allow_failure: true
script:
- bundle exec rspec
It correctly does not contribute to the commit's status, but still sends me mails about the failure if it fails:
Build failed for XXX | 34f41789
Project: XXX
Commit: 34f41789
Author: XXX
Branch: master
Stage: test
Job: spec_rails5
Message: XXX
Build details: Build 805
I think this should not send emails because the failure is expected/allowed.
Using Gitlab 8.3.2.