Skip navigation links

Jenkins Git client plugin 2.7.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.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 gerrit-plugin, git-parameter-plugin, workflow and cloudbees validated merge plugins.

Plugin developers are encouraged to use GitClient API in replacement for the legacy IGitAPI.

The plugin isolates this low-level git stuff from 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 also bundles JGit and JGit http server so that callers can rely on JGit and the JGit http server being available without including it in their own plugin packaging. This is used to reduce the size of the packaging of the git-server plugin, and may be useful in other plugins.

Skip navigation links

Copyright © 2013–2017. All rights reserved.