Skip to content
Snippets Groups Projects
Commit bac500fd authored by Lin Jen-Shin's avatar Lin Jen-Shin
Browse files
parent 55f2e6ab
No related branches found
No related tags found
1 merge request!6342Integrate CI emails into notification system
class PipelinesEmailService < Service
prop_accessor :recipients
boolean_accessor :notify_only_broken_pipelines
validates :recipients,
presence: true,
if: ->(s) { s.activated? }
validates :recipients, presence: true, if: :activated?
 
def initialize_properties
self.properties ||= { notify_only_broken_pipelines: true }
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment