|
|
@ -106,6 +106,7 @@ public class ShellTask extends AbstractTask { |
|
|
|
setAppIds(commandExecuteResult.getAppIds()); |
|
|
|
setAppIds(commandExecuteResult.getAppIds()); |
|
|
|
setProcessId(commandExecuteResult.getProcessId()); |
|
|
|
setProcessId(commandExecuteResult.getProcessId()); |
|
|
|
setResult(shellCommandExecutor.getTaskResultString()); |
|
|
|
setResult(shellCommandExecutor.getTaskResultString()); |
|
|
|
|
|
|
|
setVarPool(shellCommandExecutor.getVarPool()); |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
logger.error("shell task error", e); |
|
|
|
logger.error("shell task error", e); |
|
|
|
setExitStatusCode(Constants.EXIT_CODE_FAILURE); |
|
|
|
setExitStatusCode(Constants.EXIT_CODE_FAILURE); |
|
|
|