Class: JenkinsJob::BuildStep::Shell

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cmd) ⇒ Shell

Returns a new instance of Shell.



5
6
7
# File 'lib/rubyjobbuilderdsl/buildstep/shell.rb', line 5

def initialize(cmd)
  @cmd_ = cmd
end

Instance Attribute Details

#cmd_Object (readonly)

Returns the value of attribute cmd_.



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

def cmd_
  @cmd_
end