Class: JenkinsJob::Postbuild::PostbuildSlack

Inherits:
BasicObject
Defined in:
lib/rubyjobbuilderdsl/postbuild/slack.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePostbuildSlack

Returns a new instance of PostbuildSlack.



9
10
11
12
13
14
15
16
17
18
19
20
21
# File 'lib/rubyjobbuilderdsl/postbuild/slack.rb', line 9

def initialize
  @start_notification_ = false
  @notify_success_ = false
  @notify_aborted_ = false
  @notify_not_built_ = false
  @notify_unstable_ = false
  @notify_regression_ = false
  @notify_failure_ = false
  @notify_back_to_normal_ = false
  @notify_repeated_failure_ = false
  @include_test_summary_ = false
  @include_failed_tests_ = false
end

Instance Attribute Details

#auth_token_Object (readonly)

Returns the value of attribute auth_token_.



4
5
6
# File 'lib/rubyjobbuilderdsl/postbuild/slack.rb', line 4

def auth_token_
  @auth_token_
end

#base_url_Object (readonly)

Returns the value of attribute base_url_.



4
5
6
# File 'lib/rubyjobbuilderdsl/postbuild/slack.rb', line 4

def base_url_
  @base_url_
end

#include_failed_tests_Object (readonly)

Returns the value of attribute include_failed_tests_.



4
5
6
# File 'lib/rubyjobbuilderdsl/postbuild/slack.rb', line 4

def include_failed_tests_
  @include_failed_tests_
end

#include_test_summary_Object (readonly)

Returns the value of attribute include_test_summary_.



4
5
6
# File 'lib/rubyjobbuilderdsl/postbuild/slack.rb', line 4

def include_test_summary_
  @include_test_summary_
end

#notify_aborted_Object (readonly)

Returns the value of attribute notify_aborted_.



4
5
6
# File 'lib/rubyjobbuilderdsl/postbuild/slack.rb', line 4

def notify_aborted_
  @notify_aborted_
end

#notify_back_to_normal_Object (readonly)

Returns the value of attribute notify_back_to_normal_.



4
5
6
# File 'lib/rubyjobbuilderdsl/postbuild/slack.rb', line 4

def notify_back_to_normal_
  @notify_back_to_normal_
end

#notify_failure_Object (readonly)

Returns the value of attribute notify_failure_.



4
5
6
# File 'lib/rubyjobbuilderdsl/postbuild/slack.rb', line 4

def notify_failure_
  @notify_failure_
end

#notify_not_built_Object (readonly)

Returns the value of attribute notify_not_built_.



4
5
6
# File 'lib/rubyjobbuilderdsl/postbuild/slack.rb', line 4

def notify_not_built_
  @notify_not_built_
end

#notify_regression_Object (readonly)

Returns the value of attribute notify_regression_.



4
5
6
# File 'lib/rubyjobbuilderdsl/postbuild/slack.rb', line 4

def notify_regression_
  @notify_regression_
end

#notify_repeated_failure_Object (readonly)

Returns the value of attribute notify_repeated_failure_.



4
5
6
# File 'lib/rubyjobbuilderdsl/postbuild/slack.rb', line 4

def notify_repeated_failure_
  @notify_repeated_failure_
end

#notify_success_Object (readonly)

Returns the value of attribute notify_success_.



4
5
6
# File 'lib/rubyjobbuilderdsl/postbuild/slack.rb', line 4

def notify_success_
  @notify_success_
end

#notify_unstable_Object (readonly)

Returns the value of attribute notify_unstable_.



4
5
6
# File 'lib/rubyjobbuilderdsl/postbuild/slack.rb', line 4

def notify_unstable_
  @notify_unstable_
end

#start_notification_Object (readonly)

Returns the value of attribute start_notification_.



4
5
6
# File 'lib/rubyjobbuilderdsl/postbuild/slack.rb', line 4

def start_notification_
  @start_notification_
end

Instance Method Details

#auth_token(value) ⇒ Object



27
28
29
# File 'lib/rubyjobbuilderdsl/postbuild/slack.rb', line 27

def auth_token(value)
  @auth_token_ = value
end

#base_url(value) ⇒ Object



23
24
25
# File 'lib/rubyjobbuilderdsl/postbuild/slack.rb', line 23

def base_url(value)
  @base_url_ = value
end

#include_failed_tests(value = false) ⇒ Object



71
72
73
# File 'lib/rubyjobbuilderdsl/postbuild/slack.rb', line 71

def include_failed_tests(value = false)
  @include_failed_tests_ = value
end

#include_test_summary(value = false) ⇒ Object



67
68
69
# File 'lib/rubyjobbuilderdsl/postbuild/slack.rb', line 67

def include_test_summary(value = false)
  @include_test_summary_ = value
end

#notify_aborted(value = false) ⇒ Object



39
40
41
# File 'lib/rubyjobbuilderdsl/postbuild/slack.rb', line 39

def notify_aborted(value = false)
  @notify_aborted_ = value
end

#notify_back_to_normal(value = false) ⇒ Object



59
60
61
# File 'lib/rubyjobbuilderdsl/postbuild/slack.rb', line 59

def notify_back_to_normal(value = false)
  @notify_back_to_normal_ = value
end

#notify_failure(value = false) ⇒ Object



55
56
57
# File 'lib/rubyjobbuilderdsl/postbuild/slack.rb', line 55

def notify_failure(value = false)
  @notify_failure_ = value
end

#notify_not_built(value = false) ⇒ Object



43
44
45
# File 'lib/rubyjobbuilderdsl/postbuild/slack.rb', line 43

def notify_not_built(value = false)
  @notify_not_built_ = value
end

#notify_regression(value = false) ⇒ Object



51
52
53
# File 'lib/rubyjobbuilderdsl/postbuild/slack.rb', line 51

def notify_regression(value = false)
  @notify_regression_ = value
end

#notify_repeated_failure(value = false) ⇒ Object



63
64
65
# File 'lib/rubyjobbuilderdsl/postbuild/slack.rb', line 63

def notify_repeated_failure(value = false)
  @notify_repeated_failure_ = value
end

#notify_success(value = false) ⇒ Object



35
36
37
# File 'lib/rubyjobbuilderdsl/postbuild/slack.rb', line 35

def notify_success(value = false)
  @notify_success_ = value
end

#notify_unstable(value = false) ⇒ Object



47
48
49
# File 'lib/rubyjobbuilderdsl/postbuild/slack.rb', line 47

def notify_unstable(value = false)
  @notify_unstable_ = value
end

#start_notification(value = false) ⇒ Object



31
32
33
# File 'lib/rubyjobbuilderdsl/postbuild/slack.rb', line 31

def start_notification(value = false)
  @start_notification_ = value
end