Class: JenkinsJob::BuildStep::Ant

Inherits:
BasicObject
Defined in:
lib/rubyjobbuilderdsl/buildstep/ant.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAnt



6
7
8
9
10
# File 'lib/rubyjobbuilderdsl/buildstep/ant.rb', line 6

def initialize
  @targets_ = []
  @properties_ = {}
  @java_opts_ = []
end

Instance Attribute Details

#buildfile_Object (readonly)

Returns the value of attribute buildfile_.



4
5
6
# File 'lib/rubyjobbuilderdsl/buildstep/ant.rb', line 4

def buildfile_
  @buildfile_
end

#java_opts_Object (readonly)

Returns the value of attribute java_opts_.



4
5
6
# File 'lib/rubyjobbuilderdsl/buildstep/ant.rb', line 4

def java_opts_
  @java_opts_
end

#properties_Object (readonly)

Returns the value of attribute properties_.



4
5
6
# File 'lib/rubyjobbuilderdsl/buildstep/ant.rb', line 4

def properties_
  @properties_
end

#targets_Object (readonly)

Returns the value of attribute targets_.



4
5
6
# File 'lib/rubyjobbuilderdsl/buildstep/ant.rb', line 4

def targets_
  @targets_
end

Instance Method Details

#buildfile(value) ⇒ Object



16
17
18
# File 'lib/rubyjobbuilderdsl/buildstep/ant.rb', line 16

def buildfile(value)
  @buildfile_ = value
end

#java_opts(*value) ⇒ Object



24
25
26
# File 'lib/rubyjobbuilderdsl/buildstep/ant.rb', line 24

def java_opts(*value)
  @java_opts_ = value
end

#property(value) ⇒ Object



20
21
22
# File 'lib/rubyjobbuilderdsl/buildstep/ant.rb', line 20

def property(value)
  @properties_ = value
end

#target(*value) ⇒ Object



12
13
14
# File 'lib/rubyjobbuilderdsl/buildstep/ant.rb', line 12

def target(*value)
  @targets_ = value
end