code: public static void verifyScriptExecutionStatus(final Map<String, String> resultMap) {
          if (ZERO_SCRIPT_EXIT_CODE.equals(resultMap.get(SCRIPT_EXIT_CODE))) {
              resultMap.put(RETURN_CODE, RETURN_CODE_SUCCESS);
          } else {
              resultMap.put(RETURN_CODE, RETURN_CODE_FAILURE);
          }
      }
docs: Checks the scriptExitCode value of the script execution and fails the operation if exit code is different than zero.
  @param resultMap