Commit eff02d2e by huangfusuper

java -jar的命令参数处理

parent a697f249
......@@ -46,9 +46,7 @@ public class ScriptCommandTaskRunTheLifeCycleCallback implements TaskRunTheLifeC
String privateParam = runParamWrapped.getPrivateParam();
ScriptParamAndPlaceholderDto scriptParamAndPlaceholderDto = JSON.parseObject(privateParam, ScriptParamAndPlaceholderDto.class);
String command = jobTaskSchedule.getRunCommand();
if (!command.startsWith(JAVA_TYPE)) {
command = command.replaceAll(" ","&&");
}
command = command.replaceAll(" ","&&");
//脚本参数不为空的时候
if (scriptParamAndPlaceholderDto != null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment