|
|
@@ -612,7 +612,7 @@ func generateCommand(repoName, processorType, codeRemotePath, dataRemotePath, bo |
|
|
|
} |
|
|
|
|
|
|
|
//check download result |
|
|
|
commandCheckRes := "bash -c \"[[ $? -eq 0 ]] && exit 0 || exit -1;\"" |
|
|
|
commandCheckRes := "bash -c \"[[ $? -eq 0 ]] && exit 0 || exit -1;\";" |
|
|
|
command += commandCheckRes |
|
|
|
|
|
|
|
//unzip code & dataset |
|
|
@@ -624,10 +624,10 @@ func generateCommand(repoName, processorType, codeRemotePath, dataRemotePath, bo |
|
|
|
command += commandUnzip |
|
|
|
|
|
|
|
//check unzip result |
|
|
|
commandCheckRes = "bash -c \"[[ $? -eq 0 ]] && exit 0 || exit -1;\"" |
|
|
|
commandCheckRes = "bash -c \"[[ $? -eq 0 ]] && exit 0 || exit -1;\";" |
|
|
|
command += commandCheckRes |
|
|
|
|
|
|
|
command += "echo \"unzip finished;start to exec code;\"" |
|
|
|
command += "echo \"unzip finished;start to exec code;\";" |
|
|
|
|
|
|
|
//exec code |
|
|
|
var parameters models.Parameters |
|
|
|