Class: JenkinsJob::Common::Artifactory

Inherits:
BasicObject
Defined in:
lib/rubyjobbuilderdsl/common/artifactory.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeArtifactory

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