public class GitUtils
extends java.lang.Object
| Constructor and Description |
|---|
GitUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Vcs |
extractVcs(java.io.File workingDir,
org.jfrog.build.api.util.Log log)
Extract Vcs details from .git configuration.
|
static CommandResults |
getGitLog(java.io.File execDir,
org.jfrog.build.api.util.Log logger,
int limit) |
static CommandResults |
getGitLog(java.io.File execDir,
org.jfrog.build.api.util.Log logger,
java.lang.String previousVcsRevision) |
static CommandResults |
getGitLog(java.io.File execDir,
org.jfrog.build.api.util.Log logger,
java.lang.String previousVcsRevision,
int limit) |
public static Vcs extractVcs(java.io.File workingDir, org.jfrog.build.api.util.Log log) throws java.io.IOException
java.io.IOExceptionpublic static CommandResults getGitLog(java.io.File execDir, org.jfrog.build.api.util.Log logger, java.lang.String previousVcsRevision) throws java.lang.InterruptedException, java.io.IOException
java.lang.InterruptedExceptionjava.io.IOExceptionpublic static CommandResults getGitLog(java.io.File execDir, org.jfrog.build.api.util.Log logger, int limit) throws java.lang.InterruptedException, java.io.IOException
java.lang.InterruptedExceptionjava.io.IOExceptionpublic static CommandResults getGitLog(java.io.File execDir, org.jfrog.build.api.util.Log logger, java.lang.String previousVcsRevision, int limit) throws java.lang.InterruptedException, java.io.IOException
java.lang.InterruptedExceptionjava.io.IOException