Mattermost notification not fired upon successful pipelines for build events
Summary
After setting up mattermost notifications for our gitlab server we cannot get successful pipelines to trigger a message, failed build pipelines and merge request notifications does work though (And no i absolutely do not have the "Notify only broken pipelines" tickbox checked in the mattermost notification service template). I found this similar closed issue regarding Slack notifications that may or may not be related to this: https://gitlab.com/gitlab-org/gitlab-ce/issues/23733
Steps to reproduce
Setup incoming webhook in mattermost and configure the mattermost notifications using the service template for it in gitlab. Make sure the "pipeline" tickbox is checked and that the "Notify only broken pipelines" and "Notify only default branch" tickboxes are not checked. Now test a successful pipeline and one that fails and only the one that fails result in an event notification.
What is the current bug behavior?
Only getting event notifications from failed pipelines and not successful ones.
What is the expected correct behavior?
Event notifications should fire for both successful and failed pipelines.
Note: Currently using GitLab Community Edition 10.8.2