Sha256: 9cac92ef737f58234858717533e791e7bb848df6e2c14a25c89a4810e0db989b
Contents?: true
Size: 590 Bytes
Versions: 5
Compression:
Stored size: 590 Bytes
Contents
# dsl methods for job builder module JenkinsJob module Postbuild class EmailPublisher < BasicObject attr_reader :recipients_, :notify_every_unstable_build_, :send_to_individuals_ def initialize(recipients) @recipients_ = recipients @notify_every_unstable_build_ = true @send_to_individuals_ = false end def notify_every_unstable_build(value) @notify_every_unstable_build_ = value end def send_to_individuals(value = true) @send_to_individuals_ = value end end end end
Version data entries
5 entries across 5 versions & 1 rubygems