Jenkins Git client plugin 6.0.0 API

The Jenkins git client plugin provides an API to execute general-purpose git operations on a local or remote repository. Its primary use is from the git plugin; as such, it is also used by the gerrit trigger plugin, git parameter plugin, and the branch source plugins (GitHub branch source, Bitbucket branch source, Gitea, and others).

Plugin developers are encouraged to use GitClient API instead of the legacy IGitAPI.

The plugin isolates low-level git commands from the git-plugin, allowing alternate git implementations (like JGit).

For backwards compatibility, this plugin uses API classes from the hudson.plugins.git package.

The git client plugin bundles JGit and JGit http server. Callers can rely on JGit and the JGit http server being available without including it in their own plugin packaging. This reduces the size dependent plugins like git-server plugin, and may be useful in other plugins.

Packages
Package
Description
Compatibility package provided for legacy git client API users.
Core classes for git client API implementation.
Git client API implementation with cgit.
Git client API implementation with JGit.
 
SSH host key verifier classes for git client API.