|
|
|
@@ -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"; |
|
|
|
|