-
- Downloads
There was a problem fetching the pipeline summary.
Quiet pipeline emails
1. Never send a pipeline email to anyone other than the user who created the pipeline. 2. Only send pipeline success emails to people with the custom notification setting for enabled. Watchers and participants will never receive this. 3. When custom settings are unset (for new settings and legacy ones), act as if failed_pipeline is set.
parent
2faf955c
No related branches found
No related tags found
Pipeline #
Showing
- app/models/ci/pipeline.rb 0 additions, 5 deletionsapp/models/ci/pipeline.rb
- app/models/notification_setting.rb 13 additions, 4 deletionsapp/models/notification_setting.rb
- app/services/notification_recipient_service.rb 36 additions, 6 deletionsapp/services/notification_recipient_service.rb
- app/services/notification_service.rb 2 additions, 2 deletionsapp/services/notification_service.rb
- app/views/shared/notifications/_custom_notifications.html.haml 1 addition, 1 deletion...iews/shared/notifications/_custom_notifications.html.haml
- changelogs/unreleased/quiet-pipelines.yml 5 additions, 0 deletionschangelogs/unreleased/quiet-pipelines.yml
- doc/workflow/notifications.md 3 additions, 4 deletionsdoc/workflow/notifications.md
- spec/factories/ci/pipelines.rb 4 additions, 0 deletionsspec/factories/ci/pipelines.rb
- spec/models/ci/pipeline_spec.rb 5 additions, 2 deletionsspec/models/ci/pipeline_spec.rb
- spec/services/notification_service_spec.rb 161 additions, 29 deletionsspec/services/notification_service_spec.rb
- spec/workers/pipeline_notification_worker_spec.rb 7 additions, 119 deletionsspec/workers/pipeline_notification_worker_spec.rb
changelogs/unreleased/quiet-pipelines.yml
0 → 100644
Please register or sign in to comment