评测还原

dev_ec
daiao 6 years ago
parent 9beb3131d2
commit 24881fa282

@ -497,18 +497,19 @@ class MyshixunsController < ApplicationController
resubmit = jsonTestDetails['resubmit']
outPut = tran_base64_decode64(jsonTestDetails['outPut'])
jenkins_testsets = jsonTestDetails['msg']
# 创建pod的状态 0 失败 1 成功
create_pod_status = jsonTestDetails['createPodStatus']
# 克隆代码的装填 0 失败 1 成功
clone_code_status = jsonTestDetails['downloadStatus']
# 1表示编译成功0 表示运行异常; -1 表示克隆代码失败; -2 表示创建pod失败
compile_success = if clone_code_status == "0"
-1
elsif create_pod_status == "0"
-2
else
jsonTestDetails['compileSuccess']
end
compile_success = jsonTestDetails['compileSuccess']
# # 创建pod的状态 0 失败 1 成功
# create_pod_status = jsonTestDetails['createPodStatus']
# # 克隆代码的装填 0 失败 1 成功
# clone_code_status = jsonTestDetails['downloadStatus']
# # 1表示编译成功0 表示运行异常; -1 表示克隆代码失败; -2 表示创建pod失败
# compile_success = if clone_code_status == "0"
# -1
# elsif create_pod_status == "0"
# -2
# else
# jsonTestDetails['compileSuccess']
# end
# message = Base64.decode64(params[:msg]) unless params[:msg].blank?
logger.info(outPut)
game = Game.find(game_id)

Loading…
Cancel
Save