Browse Source

新增dvc操作

pull/121/head
fanshuai 1 year ago
parent
commit
43b78fefd5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/DatasetServiceImpl.java

+ 1
- 1
ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/DatasetServiceImpl.java View File

@@ -492,7 +492,7 @@ public class DatasetServiceImpl implements DatasetService {

// 得到用户操作的路径
String url = datasetVo.getDatasetVersionVos().get(0).getUrl();
String localPath = "E:/test/" + datasetVo.getName();
String localPath = "/home/tempwork" + datasetVo.getName();
String sourcePath = url.substring(0, url.lastIndexOf("/"));
// 命令行操作 git clone 项目地址
DVCUtils.gitClone(localPath, projectUrl, branchName, gitusername, gitpassword);


Loading…
Cancel
Save