Uses of Class
hudson.plugins.git.GitSCM
Package
Description
-
Uses of GitSCM in hudson.plugins.git
Modifier and TypeMethodDescriptionprotected org.jenkinsci.plugins.gitclient.GitClient
GitPublisher.getGitClient
(GitSCM gitSCM, BuildListener listener, EnvVars environment, AbstractBuild<?, ?> build, org.jenkinsci.plugins.gitclient.UnsupportedCommand cmd) -
Uses of GitSCM in hudson.plugins.git.extensions
Modifier and TypeMethodDescriptionvoid
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
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) Deprecated.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 determinedGitSCMExtension.getWorkingDirectory
(GitSCM scm, AbstractProject<?, ?> context, FilePath workspace, EnvVars environment, TaskListener listener) Deprecated.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.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
Signals when "git-clean" runs.void
GitSCMExtension.populateEnvironmentVariables
(GitSCM scm, Map<String, String> env) Contribute additional environment variables for the Git invocation.Modifier and TypeMethodDescriptionboolean
GitSCMExtensionDescriptor.isApplicable
(Class<? extends GitSCM> type) -
Uses of GitSCM in hudson.plugins.git.extensions.impl
Modifier and TypeMethodDescriptionvoid
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
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) RelativeTargetDirectory.getWorkingDirectory
(GitSCM scm, Job<?, ?> context, FilePath workspace, EnvVars environment, TaskListener listener) MessageExclusion.isRevExcluded
(GitSCM scm, org.jenkinsci.plugins.gitclient.GitClient git, GitChangeSet commit, TaskListener listener, BuildData buildData) PathRestriction.isRevExcluded
(GitSCM scm, org.jenkinsci.plugins.gitclient.GitClient git, GitChangeSet commit, TaskListener listener, BuildData buildData) 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
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
-
Uses of GitSCM in jenkins.plugins.git
Modifier and TypeMethodDescriptionvoid
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
static Set<hudson.plugins.git.Revision>
GitSCMMatrixUtil.populateCandidatesFromRootBuild
(AbstractBuild build, GitSCM scm)
GitSCMExtension.decorateCheckoutCommand(GitSCM, Run, GitClient, TaskListener, CheckoutCommand)