Browse Source

Merge branch 'dev' of https://gitlink.org.cn/ci4s/ci4sManagement-cloud into dev

dev-DXTZYK
somunslotus 1 year ago
parent
commit
7f32d7ce63
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/NewDatasetServiceImpl.java

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

@@ -107,7 +107,7 @@ public class NewDatasetServiceImpl implements NewDatasetService {

// 得到用户操作的路径
String sourcePath = datasetVo.getDatasetVersionVos().get(0).getUrl();
String relatePath = ci4sUsername+"/datasets/" + gitlinIid + "/" + datasetVo.getName();
String relatePath = ci4sUsername+"/datasets/" + gitlinIid + "/" + repositoryName;
String localPath = localPathlocal+ relatePath;
String datasetPath = localPath + "/dataset";

@@ -164,7 +164,7 @@ public class NewDatasetServiceImpl implements NewDatasetService {
String branchName = StringUtils.isEmpty(datasetVo.getVersion()) ? "master" : datasetVo.getVersion();
String repositoryName = datasetVo.getIdentifier();
String sourcePath = datasetVo.getDatasetVersionVos().get(0).getUrl();
String relatePath = ci4sUsername +"/datasets/"+ datasetVo.getId() + "/" + datasetVo.getName();
String relatePath = ci4sUsername +"/datasets/"+ datasetVo.getId() + "/" + repositoryName;
String localPath = localPathlocal + relatePath;
String datasetPath = localPath + "/dataset";
String projectUrl = gitendpoint + "/" + userInfo.get("login") + "/" + repositoryName + ".git";


Loading…
Cancel
Save