Class IndraGitService

    • Constructor Detail

      • IndraGitService

        public IndraGitService()
    • Method Detail

      • git

        @Nullable
        public @Nullable org.eclipse.jgit.api.Git git​(File projectDir,
                                                      @NotNull
                                                      @NotNull String displayName)
        Get the git repository for this build.

        If this project is not managed by git, this will return null.

        Parameters:
        projectDir - the project directory to locate a git repo in
        displayName - the display name for the context being queried
        Returns:
        the build's git repository.
        Since:
        2.0.0