Commit bb5d5b0d authored by Lückemeyer's avatar Lückemeyer
Browse files

re-created target dir for copy

parent 1b9f606a
Pipeline #9080 passed with stage
......@@ -58,9 +58,11 @@ public class JGitUtil {
//if an optional directory parameter was given
if(subDir!="")
{
targetDirectory = new File(targetPath);
//copy appropriate path from checkout directory to target directory
FileSystemUtils.copyRecursively(targetDirectory, new File(checkoutDirectory+subDir));
}
LOG.debug(String.format("cloned from %s to %s", config.group(1), targetDirectory));
}
catch (IOException e) {
LOG.error(String.format("Error while cloning from %s: could not copy to unit test dir", config.group(1)), e);
......@@ -68,7 +70,5 @@ public class JGitUtil {
catch (GitAPIException e) {
LOG.error(String.format("Error while cloning from %s: could not read from Git", config.group(1)), e);
}
LOG.debug(String.format("cloned from %s to %s", config.group(1), targetDirectory));
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment