| Package | Description |
|---|---|
| hudson.plugins.git | |
| hudson.plugins.git.extensions | |
| hudson.plugins.git.extensions.impl | |
| hudson.plugins.git.util |
| Modifier and Type | Method and Description |
|---|---|
void |
MultipleScmResolver.resolveMultiScmIfConfigured(hudson.model.AbstractProject<?,?> project,
Set<GitSCM> projectScms) |
| Modifier and Type | Method and Description |
|---|---|
void |
GitSCMExtension.beforeCheckout(GitSCM scm,
hudson.model.AbstractBuild<?,?> build,
org.jenkinsci.plugins.gitclient.GitClient git,
hudson.model.BuildListener listener)
Called before the checkout activity (including fetch and checkout) starts.
|
org.jenkinsci.plugins.gitclient.GitClient |
GitSCMExtension.decorate(GitSCM scm,
org.jenkinsci.plugins.gitclient.GitClient git)
Called when
GitClient is created to decorate its behaviour. |
void |
GitSCMExtension.decorateCloneCommand(GitSCM scm,
hudson.model.AbstractBuild<?,?> build,
org.jenkinsci.plugins.gitclient.GitClient git,
hudson.model.BuildListener listener,
org.jenkinsci.plugins.gitclient.CloneCommand cmd)
Called before a
CloneCommand is executed to allow extensions to alter its behaviour. |
void |
GitSCMExtension.decorateMergeCommand(GitSCM scm,
hudson.model.AbstractBuild<?,?> build,
org.jenkinsci.plugins.gitclient.GitClient git,
hudson.model.BuildListener listener,
org.jenkinsci.plugins.gitclient.MergeCommand cmd)
Called before a
MergeCommand is executed to allow extensions to alter its behaviour. |
hudson.plugins.git.Revision |
GitSCMExtension.decorateRevisionToBuild(GitSCM scm,
hudson.model.AbstractBuild<?,?> build,
org.jenkinsci.plugins.gitclient.GitClient git,
hudson.model.BuildListener listener,
hudson.plugins.git.Revision rev)
Called after
BuildChooser selects the revision to pick for this build, but before
This allows extensions to select a derived revision (for example by merging another branch into
the chosen revision and returning it) or manipulate the state of the working tree (such as
running git-clean.) |
hudson.FilePath |
GitSCMExtension.getWorkingDirectory(GitSCM scm,
hudson.model.AbstractProject<?,?> context,
hudson.FilePath workspace,
hudson.EnvVars environment,
hudson.model.TaskListener listener)
Given the workspace root directory, gets the working directory, which is where the repository will be checked out.
|
Boolean |
GitSCMExtension.isRevExcluded(GitSCM scm,
org.jenkinsci.plugins.gitclient.GitClient git,
GitChangeSet commit,
hudson.model.TaskListener listener,
BuildData buildData)
Given a commit found during polling, check whether it should be disregarded.
|
void |
GitSCMExtension.onCheckoutCompleted(GitSCM scm,
hudson.model.AbstractBuild<?,?> build,
org.jenkinsci.plugins.gitclient.GitClient git,
hudson.model.BuildListener listener)
Called when the checkout was completed and the working directory is filled with files.
|
void |
GitSCMExtension.onClean(GitSCM scm,
org.jenkinsci.plugins.gitclient.GitClient git)
Signals when "git-clean" runs.
|
void |
GitSCMExtension.populateEnvironmentVariables(GitSCM scm,
Map<String,String> env)
Contribute additional environment variables for the Git invocation.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
GitSCMExtensionDescriptor.isApplicable(Class<? extends GitSCM> type) |
| Modifier and Type | Method and Description |
|---|---|
void |
WipeWorkspace.beforeCheckout(GitSCM scm,
hudson.model.AbstractBuild<?,?> build,
org.jenkinsci.plugins.gitclient.GitClient git,
hudson.model.BuildListener listener) |
void |
PruneStaleBranch.beforeCheckout(GitSCM scm,
hudson.model.AbstractBuild<?,?> build,
org.jenkinsci.plugins.gitclient.GitClient git,
hudson.model.BuildListener listener) |
org.jenkinsci.plugins.gitclient.GitClient |
UserIdentity.decorate(GitSCM scm,
org.jenkinsci.plugins.gitclient.GitClient git) |
void |
CloneOption.decorateCloneCommand(GitSCM scm,
hudson.model.AbstractBuild<?,?> build,
org.jenkinsci.plugins.gitclient.GitClient git,
hudson.model.BuildListener listener,
org.jenkinsci.plugins.gitclient.CloneCommand cmd) |
void |
PreBuildMerge.decorateMergeCommand(GitSCM scm,
hudson.model.AbstractBuild<?,?> build,
org.jenkinsci.plugins.gitclient.GitClient git,
hudson.model.BuildListener listener,
org.jenkinsci.plugins.gitclient.MergeCommand cmd) |
hudson.plugins.git.Revision |
PreBuildMerge.decorateRevisionToBuild(GitSCM scm,
hudson.model.AbstractBuild<?,?> build,
org.jenkinsci.plugins.gitclient.GitClient git,
hudson.model.BuildListener listener,
hudson.plugins.git.Revision rev) |
hudson.FilePath |
RelativeTargetDirectory.getWorkingDirectory(GitSCM scm,
hudson.model.AbstractProject<?,?> context,
hudson.FilePath workspace,
hudson.EnvVars environment,
hudson.model.TaskListener listener) |
Boolean |
UserExclusion.isRevExcluded(GitSCM scm,
org.jenkinsci.plugins.gitclient.GitClient git,
GitChangeSet commit,
hudson.model.TaskListener listener,
BuildData buildData) |
Boolean |
PathRestriction.isRevExcluded(GitSCM scm,
org.jenkinsci.plugins.gitclient.GitClient git,
GitChangeSet commit,
hudson.model.TaskListener listener,
BuildData buildData) |
void |
SubmoduleOption.onCheckoutCompleted(GitSCM scm,
hudson.model.AbstractBuild<?,?> build,
org.jenkinsci.plugins.gitclient.GitClient git,
hudson.model.BuildListener listener) |
void |
PerBuildTag.onCheckoutCompleted(GitSCM scm,
hudson.model.AbstractBuild<?,?> build,
org.jenkinsci.plugins.gitclient.GitClient git,
hudson.model.BuildListener listener) |
void |
CleanCheckout.onCheckoutCompleted(GitSCM scm,
hudson.model.AbstractBuild<?,?> build,
org.jenkinsci.plugins.gitclient.GitClient git,
hudson.model.BuildListener listener) |
void |
SubmoduleOption.onClean(GitSCM scm,
org.jenkinsci.plugins.gitclient.GitClient git) |
void |
UserIdentity.populateEnvironmentVariables(GitSCM scm,
Map<String,String> env) |
| Modifier and Type | Field and Description |
|---|---|
GitSCM |
BuildChooser.gitSCM
Refers back to the
GitSCM that owns this build chooser. |
Copyright © 2004-2013. All Rights Reserved.