Fix shell task ${setValue(key,value)} is not working (#5067)
Co-authored-by: dalekliuhan <dalekliuhan@didiglobal.com>xingchun-chen-patch-1
parent
6bf5031f45
commit
0ba120e8ab
|
|
@ -106,6 +106,7 @@ public class ShellTask extends AbstractTask {
|
|||
setAppIds(commandExecuteResult.getAppIds());
|
||||
setProcessId(commandExecuteResult.getProcessId());
|
||||
setResult(shellCommandExecutor.getTaskResultString());
|
||||
setVarPool(shellCommandExecutor.getVarPool());
|
||||
} catch (Exception e) {
|
||||
logger.error("shell task error", e);
|
||||
setExitStatusCode(Constants.EXIT_CODE_FAILURE);
|
||||
|
|
|
|||
Loading…
Reference in New Issue