The GroovyConsoleHandler should throw an Exception if the script execution failed.
the default GroovyConsole dependency should be 9.0.0 so be compatible with AEM 6.2+
when one Action failed no further Actions should be executed
as the session is saved after content installation (and before execution of actions) automatically we should do the same after each successful action, requirement for this is that every action must leave the repository in a consistent state
GroovyConsoleHandler
should throw an Exception if the script execution failed.