| Package | Description |
|---|---|
| hudson.plugins.git | |
| hudson.plugins.git.util |
| Modifier and Type | Method and Description |
|---|---|
void |
IGitAPI.add(String filePattern) |
void |
GitAPI.add(String filePattern) |
void |
IGitAPI.branch(String name) |
void |
GitAPI.branch(String name) |
void |
IGitAPI.changelog(String revFrom,
String revTo,
OutputStream fos) |
void |
GitAPI.changelog(String revFrom,
String revTo,
OutputStream outputStream) |
void |
IGitAPI.checkout(String commitish)
Short for
checkoutBranch(null, commitish) |
void |
GitAPI.checkout(String commitish) |
void |
IGitAPI.checkoutBranch(String branch,
String commitish)
Checks out the specified commit/ref into the workspace.
|
void |
GitAPI.checkoutBranch(String branch,
String commitish) |
void |
IGitAPI.clean() |
void |
GitAPI.clean() |
void |
IGitAPI.clone_cgit(org.eclipse.jgit.transport.RemoteConfig source) |
void |
GitAPI.clone_cgit(org.eclipse.jgit.transport.RemoteConfig remoteConfig)
Start from scratch and clone the whole repository.
|
void |
IGitAPI.clone(org.eclipse.jgit.transport.RemoteConfig source) |
void |
GitAPI.clone(org.eclipse.jgit.transport.RemoteConfig remoteConfig) |
void |
IGitAPI.commit(File f) |
void |
GitAPI.commit(File f) |
void |
IGitAPI.commit(String message)
Performs commit into repository with given message.
|
void |
GitAPI.commit(String message) |
void |
SubmoduleCombinator.createSubmoduleCombinations() |
void |
IGitAPI.deleteBranch(String name) |
void |
GitAPI.deleteBranch(String name) |
void |
IGitAPI.deleteTag(String tagName) |
void |
GitAPI.deleteTag(String tagName) |
String |
IGitAPI.describe(String commitIsh) |
String |
GitAPI.describe(String commitIsh) |
void |
IGitAPI.fetch() |
void |
GitAPI.fetch() |
void |
GitAPI.fetch(org.eclipse.jgit.transport.RemoteConfig remoteRepository) |
void |
IGitAPI.fetch(String repository,
String refspec) |
void |
GitAPI.fetch(String repository,
String refspec) |
void |
IGitAPI.fixSubmoduleUrls(String remote,
hudson.model.TaskListener listener) |
void |
GitAPI.fixSubmoduleUrls(String remote,
hudson.model.TaskListener listener)
Fixes urls for submodule as stored in .git/config and
$SUBMODULE/.git/config for when the remote repo is NOT a bare repository.
|
List<Branch> |
IGitAPI.getBranches() |
List<Branch> |
GitAPI.getBranches() |
List<Branch> |
IGitAPI.getBranchesContaining(String revspec) |
List<Branch> |
GitAPI.getBranchesContaining(String revspec) |
String |
GitAPI.getDefaultRemote()
Get the default remote.
|
String |
IGitAPI.getDefaultRemote(String _default_) |
String |
GitAPI.getDefaultRemote(String _default_)
Get the default remote.
|
String |
IGitAPI.getHeadRev(String remoteRepoUrl,
String branch) |
String |
GitAPI.getHeadRev(String remoteRepoUrl,
String branch) |
List<Branch> |
IGitAPI.getRemoteBranches() |
List<Branch> |
GitAPI.getRemoteBranches() |
String |
IGitAPI.getRemoteUrl(String name) |
String |
GitAPI.getRemoteUrl(String name)
Get a remote's URL
|
String |
IGitAPI.getRemoteUrl(String name,
String GIT_DIR) |
String |
GitAPI.getRemoteUrl(String name,
String GIT_DIR)
From a given repository, get a remote's URL
|
org.eclipse.jgit.transport.RemoteConfig |
GitSCM.getSubmoduleRepository(IGitAPI parentGit,
org.eclipse.jgit.transport.RemoteConfig orig,
String name) |
List<IndexEntry> |
IGitAPI.getSubmodules(String treeIsh) |
List<IndexEntry> |
GitAPI.getSubmodules(String treeIsh) |
String |
IGitAPI.getSubmoduleUrl(String name) |
String |
GitAPI.getSubmoduleUrl(String name)
Get submodule URL
|
Set<String> |
IGitAPI.getTagNames(String tagPattern) |
Set<String> |
GitAPI.getTagNames(String tagPattern) |
List<Tag> |
IGitAPI.getTagsOnCommit(String revName) |
List<Tag> |
GitAPI.getTagsOnCommit(String revName) |
boolean |
IGitAPI.hasGitModules() |
boolean |
GitAPI.hasGitModules() |
boolean |
IGitAPI.hasGitModules(String treeIsh) |
boolean |
GitAPI.hasGitModules(String treeIsh) |
boolean |
IGitAPI.hasGitRepo()
Checks whether .git directory exists
|
boolean |
GitAPI.hasGitRepo() |
boolean |
GitAPI.hasGitRepo(String gitDir) |
void |
IGitAPI.init()
Inits git repository.
|
void |
GitAPI.init() |
boolean |
IGitAPI.isBareRepository() |
boolean |
GitAPI.isBareRepository()
Detect whether a repository is bare or not.
|
boolean |
IGitAPI.isBareRepository(String GIT_DIR) |
boolean |
GitAPI.isBareRepository(String GIT_DIR)
Detect whether a repository at the given path is bare or not.
|
String |
GitAPI.launchCommand(hudson.util.ArgumentListBuilder args)
Launch command using the workspace as working directory
|
String |
GitAPI.launchCommand(String... args)
Launch command using the workspace as working directory
|
List<IndexEntry> |
IGitAPI.lsTree(String treeIsh) |
List<IndexEntry> |
GitAPI.lsTree(String treeIsh) |
void |
IGitAPI.merge(String revSpec) |
void |
GitAPI.merge(String revSpec)
Merge any changes into the head.
|
void |
IGitAPI.prune(org.eclipse.jgit.transport.RemoteConfig repository) |
void |
GitAPI.prune(org.eclipse.jgit.transport.RemoteConfig repository) |
void |
IGitAPI.push(org.eclipse.jgit.transport.RemoteConfig repository,
String revspec) |
void |
GitAPI.push(org.eclipse.jgit.transport.RemoteConfig repository,
String refspec) |
List<org.eclipse.jgit.lib.ObjectId> |
GitAPI.revList(String... extraArgs) |
List<org.eclipse.jgit.lib.ObjectId> |
IGitAPI.revListAll() |
List<org.eclipse.jgit.lib.ObjectId> |
GitAPI.revListAll() |
List<org.eclipse.jgit.lib.ObjectId> |
IGitAPI.revListBranch(String branchId) |
List<org.eclipse.jgit.lib.ObjectId> |
GitAPI.revListBranch(String branchId) |
org.eclipse.jgit.lib.ObjectId |
IGitAPI.revParse(String revName) |
org.eclipse.jgit.lib.ObjectId |
GitAPI.revParse(String revName) |
void |
IGitAPI.setRemoteUrl(String name,
String url) |
void |
GitAPI.setRemoteUrl(String name,
String url)
Set a remote's URL
|
void |
IGitAPI.setRemoteUrl(String name,
String url,
String GIT_DIR) |
void |
GitAPI.setRemoteUrl(String name,
String url,
String GIT_DIR)
For a given repository, set a remote's URL
|
void |
IGitAPI.setSubmoduleUrl(String name,
String url) |
void |
GitAPI.setSubmoduleUrl(String name,
String url)
Set submodule URL
|
void |
IGitAPI.setupSubmoduleUrls(Revision rev,
hudson.model.TaskListener listener) |
void |
GitAPI.setupSubmoduleUrls(Revision rev,
hudson.model.TaskListener listener)
Set up submodule URLs so that they correspond to the remote pertaining to
the revision that has been checked out.
|
void |
IGitAPI.setupSubmoduleUrls(String remote,
hudson.model.TaskListener listener) |
void |
GitAPI.setupSubmoduleUrls(String remote,
hudson.model.TaskListener listener) |
List<String> |
IGitAPI.showRevision(Revision r) |
List<String> |
GitAPI.showRevision(Revision r)
Given a Revision, show it as if it were an entry from git whatchanged, so that it
can be parsed by GitChangeLogParser.
|
void |
IGitAPI.submoduleClean(boolean recursive) |
void |
GitAPI.submoduleClean(boolean recursive)
Cleans submodules
|
void |
IGitAPI.submoduleInit() |
void |
GitAPI.submoduleInit()
Init submodules.
|
void |
IGitAPI.submoduleSync() |
void |
GitAPI.submoduleSync()
Sync submodule URLs
|
void |
IGitAPI.submoduleUpdate(boolean recursive) |
void |
GitAPI.submoduleUpdate(boolean recursive)
Update submodules.
|
void |
IGitAPI.tag(String tagName,
String comment) |
void |
GitAPI.tag(String tagName,
String comment) |
boolean |
IGitAPI.tagExists(String tagName) |
boolean |
GitAPI.tagExists(String tagName) |
| Modifier and Type | Method and Description |
|---|---|
Collection<Revision> |
GitUtils.getAllBranchRevisions()
Return a list of "Revisions" - where a revision knows about all the branch names that refer to
a SHA1.
|
Collection<Revision> |
DefaultBuildChooser.getCandidateRevisions(boolean isPollCall,
String singleBranch,
IGitAPI git,
hudson.model.TaskListener listener,
BuildData data)
Determines which Revisions to build.
|
abstract Collection<Revision> |
BuildChooser.getCandidateRevisions(boolean isPollCall,
String singleBranch,
IGitAPI git,
hudson.model.TaskListener listener,
BuildData buildData)
Get a list of revisions that are candidates to be built.
|
Revision |
GitUtils.getRevisionContainingBranch(String branchName)
Return the revision containing the branch name.
|
Revision |
GitUtils.getRevisionForSHA1(org.eclipse.jgit.lib.ObjectId sha1) |
Copyright © 2004-2015 Hudson. All Rights Reserved.