Class: JenkinsJob::Common::Artifactory
- Inherits:
- BasicObject
- Defined in:
- lib/rubyjobbuilderdsl/common/artifactory.rb
Instance Attribute Summary collapse
-
#build_info_ ⇒ Object
readonly
Returns the value of attribute build_info_.
-
#deploy_ ⇒ Object
readonly
Returns the value of attribute deploy_.
-
#repository_ ⇒ Object
readonly
Returns the value of attribute repository_.
-
#resolve_ ⇒ Object
readonly
Returns the value of attribute resolve_.
-
#server_ ⇒ Object
readonly
Returns the value of attribute server_.
Instance Method Summary collapse
- #build_info(value = true) ⇒ Object
- #deploy(*value) ⇒ Object
-
#initialize ⇒ Artifactory
constructor
A new instance of Artifactory.
- #repository(value) ⇒ Object
- #resolve(*value) ⇒ Object
- #server(value) ⇒ Object
Constructor Details
#initialize ⇒ Artifactory
Returns a new instance of Artifactory.
6 7 8 9 10 |
# File 'lib/rubyjobbuilderdsl/common/artifactory.rb', line 6 def initialize @deploy_ = [] @resolve_ = [] @build_info_ = false end |
Instance Attribute Details
#build_info_ ⇒ Object (readonly)
Returns the value of attribute build_info_.
4 5 6 |
# File 'lib/rubyjobbuilderdsl/common/artifactory.rb', line 4 def build_info_ @build_info_ end |
#deploy_ ⇒ Object (readonly)
Returns the value of attribute deploy_.
4 5 6 |
# File 'lib/rubyjobbuilderdsl/common/artifactory.rb', line 4 def deploy_ @deploy_ end |
#repository_ ⇒ Object (readonly)
Returns the value of attribute repository_.
4 5 6 |
# File 'lib/rubyjobbuilderdsl/common/artifactory.rb', line 4 def repository_ @repository_ end |
#resolve_ ⇒ Object (readonly)
Returns the value of attribute resolve_.
4 5 6 |
# File 'lib/rubyjobbuilderdsl/common/artifactory.rb', line 4 def resolve_ @resolve_ end |
#server_ ⇒ Object (readonly)
Returns the value of attribute server_.
4 5 6 |
# File 'lib/rubyjobbuilderdsl/common/artifactory.rb', line 4 def server_ @server_ end |
Instance Method Details
#build_info(value = true) ⇒ Object
28 29 30 |
# File 'lib/rubyjobbuilderdsl/common/artifactory.rb', line 28 def build_info(value = true) @build_info_ = value end |
#deploy(*value) ⇒ Object
20 21 22 |
# File 'lib/rubyjobbuilderdsl/common/artifactory.rb', line 20 def deploy(*value) @deploy_ = value end |
#repository(value) ⇒ Object
16 17 18 |
# File 'lib/rubyjobbuilderdsl/common/artifactory.rb', line 16 def repository(value) @repository_ = value end |
#resolve(*value) ⇒ Object
24 25 26 |
# File 'lib/rubyjobbuilderdsl/common/artifactory.rb', line 24 def resolve(*value) @resolve_ = value end |
#server(value) ⇒ Object
12 13 14 |
# File 'lib/rubyjobbuilderdsl/common/artifactory.rb', line 12 def server(value) @server_ = value end |