Class: JenkinsJob::Postbuild::Archive
- Inherits:
- BasicObject
- Defined in:
- lib/rubyjobbuilderdsl/postbuild/archive.rb
Instance Attribute Summary collapse
-
#allow_empty_ ⇒ Object
readonly
Returns the value of attribute allow_empty_.
-
#artifacts_ ⇒ Object
readonly
Returns the value of attribute artifacts_.
-
#exclude_ ⇒ Object
readonly
Returns the value of attribute exclude_.
-
#latest_only_ ⇒ Object
readonly
Returns the value of attribute latest_only_.
Instance Method Summary collapse
- #allow_empty(value = true) ⇒ Object
- #exclude(*value) ⇒ Object
- #file(*value) ⇒ Object
- #latest_only(value = true) ⇒ Object
Instance Attribute Details
#allow_empty_ ⇒ Object (readonly)
Returns the value of attribute allow_empty_.
4 5 6 |
# File 'lib/rubyjobbuilderdsl/postbuild/archive.rb', line 4 def allow_empty_ @allow_empty_ end |
#artifacts_ ⇒ Object (readonly)
Returns the value of attribute artifacts_.
4 5 6 |
# File 'lib/rubyjobbuilderdsl/postbuild/archive.rb', line 4 def artifacts_ @artifacts_ end |
#exclude_ ⇒ Object (readonly)
Returns the value of attribute exclude_.
4 5 6 |
# File 'lib/rubyjobbuilderdsl/postbuild/archive.rb', line 4 def exclude_ @exclude_ end |
#latest_only_ ⇒ Object (readonly)
Returns the value of attribute latest_only_.
4 5 6 |
# File 'lib/rubyjobbuilderdsl/postbuild/archive.rb', line 4 def latest_only_ @latest_only_ end |
Instance Method Details
#allow_empty(value = true) ⇒ Object
14 15 16 |
# File 'lib/rubyjobbuilderdsl/postbuild/archive.rb', line 14 def allow_empty(value = true) @allow_empty_ = value end |
#exclude(*value) ⇒ Object
10 11 12 |
# File 'lib/rubyjobbuilderdsl/postbuild/archive.rb', line 10 def exclude(*value) @exclude_ = value.join(',') end |
#file(*value) ⇒ Object
6 7 8 |
# File 'lib/rubyjobbuilderdsl/postbuild/archive.rb', line 6 def file(*value) @artifacts_ = value.join(',') end |
#latest_only(value = true) ⇒ Object
18 19 20 |
# File 'lib/rubyjobbuilderdsl/postbuild/archive.rb', line 18 def latest_only(value = true) @latest_only_ = value end |