Make job id part of the task execution id
This commit is contained in:
Родитель
c00987ffc0
Коммит
c285d0f12f
|
@ -34,7 +34,7 @@ Process::Process(
|
|||
std::vector<uint64_t>&& cpuAffinity,
|
||||
std::map<std::string, std::string>&& envi,
|
||||
const std::function<Callback> completed) :
|
||||
jobId(jobId), taskId(taskId), requeueCount(requeueCount), taskExecutionId(String::Join("_", taskExecutionName, taskId, requeueCount)),
|
||||
jobId(jobId), taskId(taskId), requeueCount(requeueCount), taskExecutionId(String::Join("_", taskExecutionName, jobId, taskId, requeueCount)),
|
||||
commandLine(cmdLine), stdOutFile(standardOut), stdErrFile(standardErr), stdInFile(standardIn),
|
||||
workDirectory(workDir), userName(user.empty() ? "root" : user), dockerImage(envi["CCP_DOCKER_IMAGE"]), dumpStdout(dumpStdoutToExecutionMessage),
|
||||
affinity(cpuAffinity), environments(envi), callback(completed), processId(0)
|
||||
|
@ -655,4 +655,4 @@ std::string Process::PeekOutput()
|
|||
}
|
||||
|
||||
return output;
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче