Uses of Class
hudson.plugins.git.GitSCM
-
Packages that use GitSCM Package Description hudson.plugins.git.extensions hudson.plugins.git.extensions.impl hudson.plugins.git.util jenkins.plugins.git -
-
Uses of GitSCM in hudson.plugins.git.extensions
Methods in hudson.plugins.git.extensions with parameters of type GitSCM Modifier and Type Method Description void
GitSCMExtension. beforeCheckout(GitSCM scm, AbstractBuild<?,?> build, org.jenkinsci.plugins.gitclient.GitClient git, BuildListener listener)
Deprecated.void
GitSCMExtension. beforeCheckout(GitSCM scm, Run<?,?> build, org.jenkinsci.plugins.gitclient.GitClient git, TaskListener 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 whenGitClient
is created to decorate its behaviour.void
GitSCMExtension. decorateCheckoutCommand(GitSCM scm, AbstractBuild<?,?> build, org.jenkinsci.plugins.gitclient.GitClient git, BuildListener listener, org.jenkinsci.plugins.gitclient.CheckoutCommand cmd)
Deprecated.void
GitSCMExtension. decorateCheckoutCommand(GitSCM scm, Run<?,?> build, org.jenkinsci.plugins.gitclient.GitClient git, TaskListener listener, org.jenkinsci.plugins.gitclient.CheckoutCommand cmd)
Called before aCheckoutCommand
is executed to allow extensions to alter its behaviour.void
GitSCMExtension. decorateCloneCommand(GitSCM scm, AbstractBuild<?,?> build, org.jenkinsci.plugins.gitclient.GitClient git, BuildListener listener, org.jenkinsci.plugins.gitclient.CloneCommand cmd)
Deprecated.void
GitSCMExtension. decorateCloneCommand(GitSCM scm, Run<?,?> build, org.jenkinsci.plugins.gitclient.GitClient git, TaskListener listener, org.jenkinsci.plugins.gitclient.CloneCommand cmd)
Called before aCloneCommand
is executed to allow extensions to alter its behaviour.void
GitSCMExtension. decorateFetchCommand(GitSCM scm, Run<?,?> run, org.jenkinsci.plugins.gitclient.GitClient git, TaskListener listener, org.jenkinsci.plugins.gitclient.FetchCommand cmd)
Called before aFetchCommand
is executed to allow extensions to alter its behaviour.void
GitSCMExtension. decorateFetchCommand(GitSCM scm, org.jenkinsci.plugins.gitclient.GitClient git, TaskListener listener, org.jenkinsci.plugins.gitclient.FetchCommand cmd)
void
GitSCMExtension. decorateMergeCommand(GitSCM scm, AbstractBuild<?,?> build, org.jenkinsci.plugins.gitclient.GitClient git, BuildListener listener, org.jenkinsci.plugins.gitclient.MergeCommand cmd)
Deprecated.void
GitSCMExtension. decorateMergeCommand(GitSCM scm, Run<?,?> build, org.jenkinsci.plugins.gitclient.GitClient git, TaskListener listener, org.jenkinsci.plugins.gitclient.MergeCommand cmd)
Called before aMergeCommand
is executed to allow extensions to alter its behaviour.hudson.plugins.git.Revision
GitSCMExtension. decorateRevisionToBuild(GitSCM scm, AbstractBuild<?,?> build, org.jenkinsci.plugins.gitclient.GitClient git, BuildListener listener, hudson.plugins.git.Revision marked, hudson.plugins.git.Revision rev)
Deprecated.hudson.plugins.git.Revision
GitSCMExtension. decorateRevisionToBuild(GitSCM scm, Run<?,?> build, org.jenkinsci.plugins.gitclient.GitClient git, TaskListener listener, hudson.plugins.git.Revision marked, hudson.plugins.git.Revision rev)
Called afterBuildChooser
selects the revision to pick for this build, but beforevoid
GitSCMExtension. determineSupportForJGit(GitSCM scm, org.jenkinsci.plugins.gitclient.UnsupportedCommand unsupportedCommand)
Called when support of JGit for a particular or multiple extensions is to be determinedFilePath
GitSCMExtension. getWorkingDirectory(GitSCM scm, AbstractProject<?,?> context, FilePath workspace, EnvVars environment, TaskListener listener)
Deprecated.FilePath
GitSCMExtension. getWorkingDirectory(GitSCM scm, Job<?,?> context, FilePath workspace, EnvVars environment, 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, TaskListener listener, BuildData buildData)
Given a commit found during polling, check whether it should be disregarded.void
GitSCMExtension. onCheckoutCompleted(GitSCM scm, AbstractBuild<?,?> build, org.jenkinsci.plugins.gitclient.GitClient git, BuildListener listener)
Deprecated.void
GitSCMExtension. onCheckoutCompleted(GitSCM scm, Run<?,?> build, org.jenkinsci.plugins.gitclient.GitClient git, TaskListener 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.Method parameters in hudson.plugins.git.extensions with type arguments of type GitSCM Modifier and Type Method Description boolean
GitSCMExtensionDescriptor. isApplicable(Class<? extends GitSCM> type)
-
Uses of GitSCM in hudson.plugins.git.extensions.impl
Methods in hudson.plugins.git.extensions.impl with parameters of type GitSCM Modifier and Type Method Description void
WipeWorkspace. beforeCheckout(GitSCM scm, Run<?,?> build, org.jenkinsci.plugins.gitclient.GitClient git, TaskListener listener)
Called before the checkout activity (including fetch and checkout) starts.org.jenkinsci.plugins.gitclient.GitClient
UserIdentity. decorate(GitSCM scm, org.jenkinsci.plugins.gitclient.GitClient git)
Called whenGitClient
is created to decorate its behaviour.void
CheckoutOption. decorateCheckoutCommand(GitSCM scm, AbstractBuild<?,?> build, org.jenkinsci.plugins.gitclient.GitClient git, BuildListener listener, org.jenkinsci.plugins.gitclient.CheckoutCommand cmd)
Deprecated.void
CheckoutOption. decorateCheckoutCommand(GitSCM scm, Run<?,?> build, org.jenkinsci.plugins.gitclient.GitClient git, TaskListener listener, org.jenkinsci.plugins.gitclient.CheckoutCommand cmd)
Called before aCheckoutCommand
is executed to allow extensions to alter its behaviour.void
GitLFSPull. decorateCheckoutCommand(GitSCM scm, Run<?,?> build, org.jenkinsci.plugins.gitclient.GitClient git, TaskListener listener, org.jenkinsci.plugins.gitclient.CheckoutCommand cmd)
Called before aCheckoutCommand
is executed to allow extensions to alter its behaviour.void
SparseCheckoutPaths. decorateCheckoutCommand(GitSCM scm, Run<?,?> build, org.jenkinsci.plugins.gitclient.GitClient git, TaskListener listener, org.jenkinsci.plugins.gitclient.CheckoutCommand cmd)
void
CloneOption. decorateCloneCommand(GitSCM scm, Run<?,?> build, org.jenkinsci.plugins.gitclient.GitClient git, TaskListener listener, org.jenkinsci.plugins.gitclient.CloneCommand cmd)
Called before aCloneCommand
is executed to allow extensions to alter its behaviour.void
SparseCheckoutPaths. decorateCloneCommand(GitSCM scm, Run<?,?> build, org.jenkinsci.plugins.gitclient.GitClient git, TaskListener listener, org.jenkinsci.plugins.gitclient.CloneCommand cmd)
void
CleanBeforeCheckout. decorateFetchCommand(GitSCM scm, org.jenkinsci.plugins.gitclient.GitClient git, TaskListener listener, org.jenkinsci.plugins.gitclient.FetchCommand cmd)
Deprecated.void
CloneOption. decorateFetchCommand(GitSCM scm, org.jenkinsci.plugins.gitclient.GitClient git, TaskListener listener, org.jenkinsci.plugins.gitclient.FetchCommand cmd)
Deprecated.void
PruneStaleBranch. decorateFetchCommand(GitSCM scm, org.jenkinsci.plugins.gitclient.GitClient git, TaskListener listener, org.jenkinsci.plugins.gitclient.FetchCommand cmd)
Deprecated.void
PruneStaleTag. decorateFetchCommand(GitSCM scm, Run<?,?> run, org.jenkinsci.plugins.gitclient.GitClient git, TaskListener listener, org.jenkinsci.plugins.gitclient.FetchCommand cmd)
Called before aFetchCommand
is executed to allow extensions to alter its behaviour.void
PreBuildMerge. decorateMergeCommand(GitSCM scm, Run<?,?> build, org.jenkinsci.plugins.gitclient.GitClient git, TaskListener listener, org.jenkinsci.plugins.gitclient.MergeCommand cmd)
hudson.plugins.git.Revision
PreBuildMerge. decorateRevisionToBuild(GitSCM scm, Run<?,?> build, org.jenkinsci.plugins.gitclient.GitClient git, TaskListener listener, hudson.plugins.git.Revision marked, hudson.plugins.git.Revision rev)
void
CheckoutOption. determineSupportForJGit(GitSCM scm, org.jenkinsci.plugins.gitclient.UnsupportedCommand cmd)
void
CloneOption. determineSupportForJGit(GitSCM scm, org.jenkinsci.plugins.gitclient.UnsupportedCommand cmd)
void
GitLFSPull. determineSupportForJGit(GitSCM scm, org.jenkinsci.plugins.gitclient.UnsupportedCommand cmd)
void
SparseCheckoutPaths. determineSupportForJGit(GitSCM scm, org.jenkinsci.plugins.gitclient.UnsupportedCommand cmd)
void
SubmoduleOption. determineSupportForJGit(GitSCM scm, org.jenkinsci.plugins.gitclient.UnsupportedCommand cmd)
FilePath
RelativeTargetDirectory. getWorkingDirectory(GitSCM scm, Job<?,?> context, FilePath workspace, EnvVars environment, TaskListener listener)
Boolean
MessageExclusion. isRevExcluded(GitSCM scm, org.jenkinsci.plugins.gitclient.GitClient git, GitChangeSet commit, TaskListener listener, BuildData buildData)
Boolean
PathRestriction. isRevExcluded(GitSCM scm, org.jenkinsci.plugins.gitclient.GitClient git, GitChangeSet commit, TaskListener listener, BuildData buildData)
Boolean
UserExclusion. isRevExcluded(GitSCM scm, org.jenkinsci.plugins.gitclient.GitClient git, GitChangeSet commit, TaskListener listener, BuildData buildData)
void
CleanCheckout. onCheckoutCompleted(GitSCM scm, Run<?,?> build, org.jenkinsci.plugins.gitclient.GitClient git, TaskListener listener)
Called when the checkout was completed and the working directory is filled with files.void
PerBuildTag. onCheckoutCompleted(GitSCM scm, Run<?,?> build, org.jenkinsci.plugins.gitclient.GitClient git, TaskListener listener)
void
SubmoduleOption. onCheckoutCompleted(GitSCM scm, Run<?,?> build, org.jenkinsci.plugins.gitclient.GitClient git, TaskListener listener)
Called when the checkout was completed and the working directory is filled with files.void
SubmoduleOption. onClean(GitSCM scm, org.jenkinsci.plugins.gitclient.GitClient git)
Signals when "git-clean" runs.void
UserIdentity. populateEnvironmentVariables(GitSCM scm, Map<String,String> env)
Contribute additional environment variables for the Git invocation. -
Uses of GitSCM in hudson.plugins.git.util
Fields in hudson.plugins.git.util declared as GitSCM Modifier and Type Field Description GitSCM
BuildChooser. gitSCM
Refers back to theGitSCM
that owns this build chooser. -
Uses of GitSCM in jenkins.plugins.git
Methods in jenkins.plugins.git that return GitSCM Modifier and Type Method Description GitSCM
GitSCMBuilder. build()
Methods in jenkins.plugins.git with parameters of type GitSCM Modifier and Type Method Description void
GitSCMSourceDefaults. decorateCloneCommand(GitSCM scm, Run<?,?> build, org.jenkinsci.plugins.gitclient.GitClient git, TaskListener listener, org.jenkinsci.plugins.gitclient.CloneCommand cmd)
Called before aCloneCommand
is executed to allow extensions to alter its behaviour.void
MergeWithGitSCMExtension. decorateCloneCommand(GitSCM scm, Run<?,?> build, org.jenkinsci.plugins.gitclient.GitClient git, TaskListener listener, org.jenkinsci.plugins.gitclient.CloneCommand cmd)
void
GitSCMSourceDefaults. decorateFetchCommand(GitSCM scm, org.jenkinsci.plugins.gitclient.GitClient git, TaskListener listener, org.jenkinsci.plugins.gitclient.FetchCommand cmd)
Deprecated.void
MergeWithGitSCMExtension. decorateFetchCommand(GitSCM scm, org.jenkinsci.plugins.gitclient.GitClient git, TaskListener listener, org.jenkinsci.plugins.gitclient.FetchCommand cmd)
Deprecated.hudson.plugins.git.Revision
MergeWithGitSCMExtension. decorateRevisionToBuild(GitSCM scm, Run<?,?> build, org.jenkinsci.plugins.gitclient.GitClient git, TaskListener listener, hudson.plugins.git.Revision marked, hudson.plugins.git.Revision rev)
static GitSCMTelescope
GitSCMTelescope. of(GitSCM source)
static Set<hudson.plugins.git.Revision>
GitSCMMatrixUtil. populateCandidatesFromRootBuild(AbstractBuild build, GitSCM scm)
-