Skip to content

2.x DSL Configuration Execution Current Task

josegonzalez edited this page Aug 1, 2011 · 2 revisions

Definition

current_task

Module

Capistrano::Configuration::Execution 

Returns the TaskDefinition object for the currently executing task, or nil of no task is being executed.

Available instance variables for TaskDefinition objects are:

@max_hosts
@fully_qualified_name
@on_error
@servers
@desc
@options
@namespace
@body
@name
Clone this wiki locally