Class: DamageControl::Publisher::Execute

Inherits:
Base
  • Object
show all
Defined in:
lib/damagecontrol/publisher/ftp.rb,
lib/damagecontrol/publisher/scp.rb,
lib/damagecontrol/publisher/archive.rb,
lib/damagecontrol/publisher/execute.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#enabled

Instance Method Summary collapse

Methods inherited from Base

classes, register

Constructor Details

#initializeExecute

Returns a new instance of Execute.



33
34
35
# File 'lib/damagecontrol/publisher/execute.rb', line 33

def initialize
  @command_line = "echo \"The build label is $DAMAGECONTROL_BUILD_LABEL\""
end

Instance Attribute Details

#command_lineObject

Returns the value of attribute command_line.



27
28
29
# File 'lib/damagecontrol/publisher/execute.rb', line 27

def command_line
  @command_line
end

Instance Method Details

#nameObject

register self



8
9
10
# File 'lib/damagecontrol/publisher/ftp.rb', line 8

def name
  "Execute"
end

#publish(build) ⇒ Object



12
13
# File 'lib/damagecontrol/publisher/ftp.rb', line 12

def publish(build)
end