Commit 08131b4e authored by mamunozgil's avatar mamunozgil
Browse files

Fix: identify git repo

parent be643784
Pipeline #10754 passed with stage
in 19 seconds
Showing with 1 addition and 1 deletion
+1 -1
...@@ -52,7 +52,7 @@ public class RepoUtil { ...@@ -52,7 +52,7 @@ public class RepoUtil {
try { try {
LOG.info("Preparing to clone..."); LOG.info("Preparing to clone...");
if (config.group(1).endsWith(".git") || config.group(1).contains("git")) { if (config.group(1).endsWith(".git")) {
// Git cloning // Git cloning
CloneCommand cloneCommand = Git.cloneRepository() CloneCommand cloneCommand = Git.cloneRepository()
.setDirectory(checkoutDirectory) .setDirectory(checkoutDirectory)
......
Supports Markdown
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