Uses of Class
hudson.plugins.git.extensions.GitSCMExtension
Package
Description
The common behaviours that can be used by all
GitSCMSource
instances and most
AbstractGitSCMSource
instances.-
Uses of GitSCMExtension in hudson.plugins.git
Modifier and TypeMethodDescriptionGitSCM.getExtensions()
All the configured extensions attached to thisGitSCM
. -
Uses of GitSCMExtension in hudson.plugins.git.extensions
Modifier and TypeClassDescriptionclass
Marker to designate that this extension point doesn't operate by implementing the callbacks but insteadGitSCM
has a prior knowledge about this extension. -
Uses of GitSCMExtension in hudson.plugins.git.extensions.impl
Modifier and TypeClassDescriptionclass
Use author, not committer as theChangeLogSet.Entry.getAuthor()
of the commit.class
HoldsBuildChooser
.class
Don't trigger another build to catch upclass
This extension activates the alternative changelog computation, where the changelog is calculated against a specified branch.class
Add options to the checkout command.class
git-clean before the checkout.class
git-clean after the checkout.class
class
Disable Workspace-less polling via "git ls-remote".class
First Build generates a changelog.class
git-lfs-pull after the checkout.class
Trigger from push notification should be moved to the core as a generic cross-SCM function.class
The Git plugin checks code out to a detached head.class
GitSCMExtension
that ignores commits with specific messages.class
GitSCMExtension
that ignores commits that only affects specific paths.class
Tags every build.class
Speculatively merge the selected commit with another branch before the build to answer the "what happens if I were to integrate this feature branch back to the master?" question.class
Prune stale remote-tracking branchesclass
Prune stale local tags that do not exist on any remote.class
Instead of checking out to the top of the workspace, check out somewhere else.class
When used withorg.jenkinsci.plugins.multiplescms.MultiSCM
, this differentiates a different instance.class
class
Further tweak the behaviour of git-submodule.class
GitSCMExtension
that ignores commits that are made by specific users.class
GitSCMExtension
that sets a different name and/or e-mail address for commits.class
Force a re-clone.Modifier and TypeMethodDescriptionPruneStaleTag.DescriptorImpl.newInstance
(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) -
Uses of GitSCMExtension in jenkins.plugins.git
Modifier and TypeClassDescriptionclass
Used to reset the default clone behaviour forGitSCM
instances created byGitSCMBuilder
.class
Similar toPreBuildMerge
, but for use fromSCMSource
implementations that need to specify the exact base branch hash.Modifier and TypeMethodDescriptionfinal List<GitSCMExtension>
GitSCMBuilder.extensions()
Returns theGitSCMExtension
instances to apply to theGitSCM
.AbstractGitSCMSource.getExtensions()
Deprecated.Modifier and TypeMethodDescriptionfinal B
GitSCMBuilder.withExtension
(GitSCMExtension extension) Adds (or redefines) the suppliedGitSCMExtension
.final B
GitSCMBuilder.withExtensions
(GitSCMExtension... extensions) Adds (or redefines) the suppliedGitSCMExtension
s.Modifier and TypeMethodDescriptionvoid
GitSCMSource.setExtensions
(List<GitSCMExtension> extensions) Deprecated.final B
GitSCMBuilder.withExtensions
(List<GitSCMExtension> extensions) Adds (or redefines) the suppliedGitSCMExtension
s. -
Uses of GitSCMExtension in jenkins.plugins.git.traits
Modifier and TypeClassDescriptionclass
GitSCMExtensionTrait<E extends GitSCMExtension>
Base class for exposing aGitSCMExtension
as aSCMSourceTrait
.Modifier and TypeMethodDescriptionClass<? extends GitSCMExtension>
GitSCMExtensionTraitDescriptor.getExtensionClass()
Returns the type ofGitSCMExtension
that theGitSCMExtensionTrait
wraps.Modifier and TypeMethodDescriptionjenkins.scm.api.trait.SCMSourceTrait
GitSCMExtensionTraitDescriptor.convertToTrait
(GitSCMExtension extension) Converts the suppliedGitSCMExtension
(which must be of typeGitSCMExtensionTraitDescriptor.getExtensionClass()
) into its correspondingGitSCMExtensionTrait
.jenkins.scm.api.trait.SCMSourceTrait
LocalBranchTrait.DescriptorImpl.convertToTrait
(GitSCMExtension extension) Converts the suppliedGitSCMExtension
(which must be of typeGitSCMExtensionTraitDescriptor.getExtensionClass()
) into its correspondingGitSCMExtensionTrait
.
GitSCMExtensionTrait
(and if there isn't one then likely theGitSCMExtension
is not appropriate to use in the context of aSCMSource
)