update single

This commit is contained in:
郑明仁 2019-08-14 14:15:02 +08:00
parent 25cdc66972
commit 0a16a8c0ae
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ public class KubernetesService {
String command = " timeout " + timeLimit + " kubectl exec " + podName + " timeout " + timeLimit + " bash " + shFile + " " + instanceChallenge + " " + ins;
if (isSingleEva) {
String codeFileName = buildParams.getString("codeFileName");
String challengeProgramName = tpiWorkspace + File.separator + appConfig.getSingleEvaCodePath() + instanceChallenge + File.separator + codeFileName;
String challengeProgramName = appConfig.getSingleEvaCodePath() + instanceChallenge + File.separator + codeFileName;
command = " timeout " + timeLimit + " kubectl exec " + podName + " timeout " + timeLimit + " bash " + shFile + " " + challengeProgramName + " " + ins;
}
logger.info("evaluate command: {}", command);