New setup attribute which can be used to run any code before any target's body executions, this replaces the old pre behaviour and can be used also when running on single mode.
New teardown attribute which can be used to run any code after all target's body executions, this replaces the old pre behaviour and can be used also when running on single mode.
Several bugfixes and improvements.
Breaking changes:
Vars:
REMOTE_OS has been renamed to CURRENT_OS
REMOTE_HOST has been renamed to CURRENT_HOST
REMOTE_PORT has been renamed to CURRENT_PORT
REMOTE_USER has been renamed to CURRENT_USER
REMOTE_PASSWORD has been renamed to CURRENT_PASSWORD
REMOTE_FOLDER_NAME has been removed.
REMOTE_FOLDER_PATH has been removed.
REMOTE_FILE_NAME has been removed.
REMOTE_FILE_PATH has been removed.
Pre:
New behaviour: now runs only once before each body execution, this is useful to add new code at the beginning of any template for batch executions without modifying the inherited script. The old behaviour can be achieved using the new setup attribute.
Post:
New behaviour: now runs only once after each body execution, this is useful to add new code at the end of any template for batch executions without modifying the inherited script. The old behaviour can be achieved using the new teardown attribute.
List of changes:
setup
attribute which can be used to run any code before any target'sbody
executions, this replaces the oldpre
behaviour and can be used also when running onsingle
mode.teardown
attribute which can be used to run any code after all target'sbody
executions, this replaces the oldpre
behaviour and can be used also when running onsingle
mode.Breaking changes:
Vars:
Pre:
body
execution, this is useful to add new code at the beginning of any template forbatch
executions without modifying the inherited script. The old behaviour can be achieved using the newsetup
attribute.Post:
body
execution, this is useful to add new code at the end of any template forbatch
executions without modifying the inherited script. The old behaviour can be achieved using the newteardown
attribute.