Cloning the repos to subfolders instead of directly to destination dir

This commit is contained in:
Marcin Grzejszczak
2018-06-28 19:11:19 +02:00
parent ccc881f764
commit 443a811b3d
5 changed files with 25 additions and 16 deletions

View File

@@ -1 +1,3 @@
spring.main.web-environment: false
spring:
main:
web-application-type: none

View File

@@ -35,7 +35,6 @@ public class GitTestUtils {
public static File clonedProject(File baseDir, File projectToClone) throws IOException {
GitRepo projectRepo = new GitRepo(baseDir);
projectRepo.cloneProject(new URIish(projectToClone.toURI().toURL()));
return baseDir;
return projectRepo.cloneProject(new URIish(projectToClone.toURI().toURL()));
}
}