未验证 提交 02b2de2a 编写于 作者: J JieguangZhou 提交者: GitHub

[fix] mlflow project success status (#10897)

close: #10902
上级 59cd8615
...@@ -86,11 +86,11 @@ public class MlflowTask extends AbstractTaskExecutor { ...@@ -86,11 +86,11 @@ public class MlflowTask extends AbstractTaskExecutor {
// construct process // construct process
String command = buildCommand(); String command = buildCommand();
TaskResponse commandExecuteResult = shellCommandExecutor.run(command); TaskResponse commandExecuteResult = shellCommandExecutor.run(command);
int exitCode = exitStatusCode; int exitCode;
if (mlflowParameters.getIsDeployDocker()){ if (mlflowParameters.getIsDeployDocker()){
exitCode = checkDockerHealth(); exitCode = checkDockerHealth();
}else { }else {
exitCode = getExitStatusCode(); exitCode = commandExecuteResult.getExitStatusCode();
} }
setExitStatusCode(exitCode); setExitStatusCode(exitCode);
setAppIds(commandExecuteResult.getAppIds()); setAppIds(commandExecuteResult.getAppIds());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册