Skip navigation links

Jenkins Git client plugin 3.10.0 API

The Jenkins git client plugin provides an API to execute general-purpose git operations on a local or remote repository.

See: Description

Packages 
Package Description
hudson.plugins.git
Compatibility package provided for legacy git client API users.
org.jenkinsci.plugins.gitclient
Core classes for git client API implementation.
org.jenkinsci.plugins.gitclient.cgit
Git client API implementation with cgit.
org.jenkinsci.plugins.gitclient.jgit
Git client API implementation with JGit.
org.jenkinsci.plugins.gitclient.trilead
Authentication classes for git client 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.

Skip navigation links

Copyright © 2013–2021. All rights reserved.