построение дерева версий результатов тестирования(еще с багами), и фикс мелкого бага

This commit is contained in:
2023-10-06 22:51:09 +03:00
parent 8f5945e560
commit 2eadbbd3fa
16 changed files with 227 additions and 37 deletions

View File

@@ -1,11 +1,11 @@
package TestingSystem;
import Common.Constants;
import Common.Global;
import Common.Utils.Utils;
import Common.Utils.Validators.ShellParser;
import GlobalData.Machine.Machine;
import GlobalData.RemoteFile.RemoteFile;
import GlobalData.User.User;
import ProjectData.Project.db_project_info;
import Visual_DVM_2021.Passes.PassException;
import com.jcraft.jsch.ChannelSftp;
import com.jcraft.jsch.ChannelShell;
@@ -186,7 +186,7 @@ public class UserConnection {
}
if (local_subdirs != null) {
for (File lsd : local_subdirs) {
if (!lsd.getName().equals(db_project_info.data)) {
if (!lsd.getName().equals(Constants.data)) {
RemoteFile rsd = null;
if (!remote_subdirs.containsKey(lsd.getName()))
sftpChannel.mkdir((rsd = new RemoteFile(remote_dir.full_name, lsd.getName(), true)).full_name);